Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

3 Step procedure to Setup ubuntu firewall

Although there is no need for Firewall on Linux systems such as Ubuntu. Having firewall ads up more security to your system. That is why we are discussing about how to Setup Ubuntu Firewall. In this post we will be installing GUFW aka Uncomplicated Firewall on Ubuntu 16.04. setup ubuntu firewall

How to setup Ubuntu firewall

Step1: Install GUFW firewall

[email protected]:~$ sudo apt-get install gufw

Step2: Check the status of firewall

Now to check the status of the firewall navigate to system setting–> [system tab] Firewall configuration

In the below widow firewall status is ON.

setup ubuntu firewall

Step 3: Setup ubuntu firewall different options in GUFW

  • Allowing connections:

Let’s say you want to add a rule so that, incoming traffic on port 80 for TCP protocol is allowed then follow below list of steps:

a. Click on + sign on the left bottom of the window.

b. Select simple tab which is in middle.

c. Select below list of options

setup ubuntu firewall

Click on Add button finally to add the rule.

You can see rules added in the main Firewall window as below:

setup ubuntu firewall

  • Denying connections

Lets say you want to deny connection on msql port 3306 then click on + sign as previously and select below set of options and press Add button.

setup ubuntu firewall

  • Setting up an preferences

You can able to set preferences options as per your need.Such as you can able to set the logging level to low, medium or even to high. To set your preferences goto option Edit –> Preferences. Even you can setup profile such as home, office etc. in this window as below:

setup ubuntu firewall

Resetting to default option.

In case you wan to reset all the setting to its defaults values select reset option Edit –> Reset current profile option.

That’s how we can setup Ubuntu firewall in Ubuntu 16.04.

To learn more about setting up an home ubuntu system download this free Book22 Useful Tweaks To Make Ubuntu Feel Like Home.

The post 3 Step procedure to Setup ubuntu firewall appeared first on UX Techno.

This post first appeared on UxTechno, please read the originial post: here

Share the post

3 Step procedure to Setup ubuntu firewall


Subscribe to Uxtechno

Get updates delivered right to your inbox!

Thank you for your subscription