QueHow

A How-To and wiki Blog

  • Operating System
    • Windows
      • Windows 10
      • Windows 7
    • Linux
  • Software
    • Application Software
    • Microsoft Office
      • Outlook
      • Word
      • PowerPoint
  • Internet
    • Browsers
      • Mozilla Firefox
      • Google Chrome
    • CMS
    • Tips & Tricks
  • Website
    • ecommerce
    • Google
    • Social Networking
    • General Websites
  • Mobile
  • Email
    • Gmail
  • Wiki

How to install and configure built In firewall in Ubuntu 14.04

By Neha T Leave a Comment

Do you know that Ubuntu equips with built in firewall feature??. Yes, you heard that right friends, Ubuntu includes its own firewall which is known as UFW (Uncomplicated Firewall). You can use different command in order to use this firewall easily and efficiently.

In this article, we will provide you two methods to configure your inbuilt firewall. Just have a glance at this article to know how to install and configure built-in firewall in Ubuntu 14.04.

Methods to install and configure built in firewall:

Method 1 of 2: By using Ubuntu Commands

Step 1: First open your terminal by hitting “Ctrl + ALT +T” and then under terminal type: “sudo ufw enable” in order to enable uncomplicated firewall. Type your Ubuntu password when asked and then press enter, you may see a message “Firewall is active and enabled on system startup”.

how-to-install-and-configure-built-in-firewall-in-ubuntu-14-04

Step 2: You have to specify a set of rules for incoming traffic. Now if you want to add rules say to allow or reject SSH traffic to any port, then type: “sudo ufw reject out ssh” and press enter.

how-to-install-and-configure-built-in-firewall-in-ubuntu-14-04

Step 3: Now type: “sudo ufw status” in order to see the rule you’ve created.

how-to-install-and-configure-built-in-firewall-in-ubuntu-14-04

Step 4: To delete any rule just type: “sudo ufw delete reject out ssh” and press enter.

how-to-install-and-configure-built-in-firewall-in-ubuntu-14-04

Step 5: If you want to deny TCP traffic to any particular port, then type: “sudo ufw deny proto tcp from 12.34.56.78 to any port 22”.

how-to-install-and-configure-built-in-firewall-in-ubuntu-14-04

Step 6: If you want to reset the firewall to its default state, then type: ” sudo ufw reset” and then press ‘y'(yes), when prompted to proceed further with your operation.

how-to-install-and-configure-built-in-firewall-in-ubuntu-14-04

Step 7: Now if you want to see the list of Application profiles, then type: “sudo ufw app list”. Here, you’ll see a list of available applications. Select the application which you want to allow, for that type: “sudo ufw allow application name” for, e.g., “sudo ufw allow CUPS”. (Note: You can use “sudo ufw app info application  name” in order to find out information about that application).

how-to-install-and-configure-built-in-firewall-in-ubuntu-14-04

Method 1 of 2: By using Graphical interface.

Step 1: Now type: “sudo apt-get install gufw” where ‘GUFW’ is a graphical interface for ufw. Press enter. (Note: Ubuntu doesn’t come up with graphical interface for  firewall).

how-to-install-and-configure-built-in-firewall-in-ubuntu-14-04

Step 2: Type “exit” to close your terminal.

how-to-install-and-configure-built-in-firewall-in-ubuntu-14-04

Step 3:  Now open your Unity Dash and type “firewall”. You’ll see a firewall icon, just click on that to open.

how-to-install-and-configure-built-in-firewall-in-ubuntu-14-04

Step 4: You’ll be required to type your password for authentication as shown in the image below.

how-to-install-and-configure-built-in-firewall-in-ubuntu-14-04

Step 5: After that You may see your firewall screen, now go to the status tab and switch on your firewall.

how-to-install-and-configure-built-in-firewall-in-ubuntu-14-04

Step 6: You may also see different options like Rules, Listening reports and log.

how-to-install-and-configure-built-in-firewall-in-ubuntu-14-04

Step 7: If you want to add any rules then go to the “Rules” option and then click on “+” sign.

how-to-install-and-configure-built-in-firewall-in-ubuntu-14-04

Step 8: You’ll see a new window pops open, here go to “Advanced” tab, where you can properly define your rules.

how-to-install-and-configure-built-in-firewall-in-ubuntu-14-04

That’s all friends, Keep reading.

You Might Also Like:

How to configure ufw firewall in Ubuntu 14.04 how to enable and disable firewall in ubuntuHow to Enable and Disable Firewall in Ubuntu how-to-install-and-configure-apache-web-servers-in-ubuntuHow to Install and Configure Apache Web Server in Ubuntu How to install and configure uTorrent server in Ubuntu 14.04 how-to-install-and-configure-wine-in-ubuntuHow to Install and Configure Wine on Ubuntu how-to-install-and-configure-ssh-in-ubuntuHow to Install and Configure SSH (Secure SHell) in Ubuntu How to Configure Sudo wait time in Ubuntu 14.04 How to monitor your network traffic in Ubuntu 14.04

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Most Viewed

  • How to Install and Use TELNET in Ubuntu
  • How to install Hindi fonts in MS Word
  • How to Change a File Extension in Windows 10?
  • How to create a flipkart account in 3 simple steps
  • How to Change Monitor Refresh Rate in Windows 10?
  • How to install IIS on Windows 10
  • How to Insert Clickable Checkbox in MS Word 2016?
  • How to Set Auto Reply in Outlook 2016?
  • How to Login as Administrator in Windows 10?
  • How to Check RAM Size and System Type in Windows 10?

Recent Additions

  • How to Add Hyperlink to Another Sheet in Excel?
  • How to Add and Remove Watermark in Excel
  • How to use Relative and Absolute Cell Reference in Excel?
  • How to Enable and Disable Scroll Lock in Excel?
  • How to Use INDEX and MATCH Functions in Excel?
  • How to Make Bar Graph in Excel?
  • How to Count Duplicate Values in Excel?
  • How to Wrap Text in Excel?
  • How to Round off Numbers in Excel?
  • How to Create a Bell Curve in Excel?

Related Searches

  • How to Disable Startup Programs in Windows 10?
  • How to Embed an Excel worksheet into Word?
  • How to Reset Password in Gmail Through an Automated Call
  • How to create a mailing list in gmail
  • How to Sync OneDrive in Windows 10?

Copyright © 2023 · QueHow · Contact Us