Firewall allows you manage incoming and outgoing traffic on different ports of your server. UFW firewall is a default Ubuntu firewall service, It comes with Ubuntu operating system. It means that we can start using it as soon as the server is ready.
With ServerAvatar web app, You can manage UFW firewall on your server from the panel. You can block/allow traffic on single or range of ports from a specific/all IP addresses by creating a simple new firewall rule.
Default Global Configuration: All outgoing traffic allowed, All incoming traffic blocked except the common ports.
If you want to create or delete a firewall rule in ServerAvatar, follow the steps given below.
Step 1: First, you need to log in to the ServerAvatar account.
Step 2: Click on the Server Dashboard button.
Step 3: Now, you will see the option Firewall on the left-hand sidebar of the Server Panel . Click on “Firewall”.
Step 4: Now, you will see the Firewall toggle on the Right-hand side of the Server Panel.
Enable “Firewall”, you will see the firewall management screen like the below image.
Step 5: Click on the Create button located on the top right of the firewall rules table, as mentioned in the above image. By clicking, a below form will appear in which you have to fill up the necessary details.
Here you have to fill-
- Port: a port number from which you want to allow/deny incoming traffic.
- Protocol: Here you have to choose a protocol type, whether TCP or UDP. By default, both protocols have been accepted.
- Traffic: choose whether deny or allow incoming traffic
- IP Address: type the IP address you want to take action for allowing or banning to enter into your network.
For taking action on multiple ports, Click on Create a rule for a range of ports option and enter Start Port and End Ports in their respective fields. It will set a rule for all ports between those two port numbers.
Once done, click on the Create Rule button, and ServerAvatar will create your firewall rule within a second.
Step 6: For Delete a firewall rule, simply click on the delete button icon on the right side of the screen like the below image. Once you delete it, you can not get it back.