+41 58 018 00 00

contact our sales to get a custom offer!

Base de connaissances

Create a firewall rule

Firewall - Create a firewall rule

To configure a firewall rule:

  1. Go to your Cloud menu.
  2. Click the label of the machine to which you want to configure a firewall rule.
  3. Click the Network -> Firewall tab.
  4. On the page that appears set the following:
    • Choose the network interface.
    • Specify if the rule defines requests that should be accepted or dropped.
    • Set the IP address for which this rule is active.
      • Leave the empty field to apply this rule to all IPs
      • Enter hyphen-separated IPs to apply the rule to an IP range (e.g. 192.168.1.1-192.168.1.10)
      • Enter the IPs with slash to apply the rule to CIDR (e.g. 192.168.1.1/24)
    • Set the port for which this rule is effective.
      • Leave the empty field to apply the rule to all ports
      • Enter colon-separated ports to apply the rule to a port range (e.g. 1024:1028)
      • Enter comma-separated ports to apply the rule to the list of ports (e.g. 80,443,21)
    • Choose the protocol (TCP or UDP).
  5. Save the rule.
The Int1 ACCEPT 122.158.111.21 22 TCP firewall rule means that the Int1 network interface will accept all the requests and packets addressed from a  122.158.111.21 IP using TCP protocol on a 22 port.
The Int2 DROP 122.158.111.21 22 UDP firewall rule means that the Int2 network interface will reject all the requests and packets running from a 122.158.111.21 IP using TCP protocol on a 22 port.

 

Because some rules can override each other, it is important to set the order in which they are processed. Use the up/down arrows next to a rule to set priority.

Get Support From Real People

When you are stuck in something don’t waste your time just let us know we are here to help you

Contact Us

If you have question which is beyond this knowledgebase Kindly contact us