User Tools

Site Tools


ternet:servers:inventory:set_up_firewall_with_ufw_on_ubuntu_server

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
ternet:servers:inventory:set_up_firewall_with_ufw_on_ubuntu_server [2021/10/13 11:07]
winluth
ternet:servers:inventory:set_up_firewall_with_ufw_on_ubuntu_server [2021/10/13 11:08] (current)
winluth
Line 1: Line 1:
-STEPS ON HOW TO SET UP A FIREWALL WITH UFW ON UBUNTU TO TERNET SERVERS 
  
 +
 +**STEPS ON HOW TO SET UP A FIREWALL WITH UFW ON UBUNTU TO TERNET SERVERS**
 ==== Introduction ==== ==== Introduction ====
  
Line 14: Line 15:
  
 UFW is installed by default on Ubuntu. If it has been uninstalled for some reason, you can install it with ''​sudo apt install ufw''​. UFW is installed by default on Ubuntu. If it has been uninstalled for some reason, you can install it with ''​sudo apt install ufw''​.
 +
 +===== Step 1 — Making Sure IPv6 is Enabled =====
 +
 +In recent versions of Ubuntu, IPv6 is enabled by default. In practice that means most firewall rules added to the server will include both an IPv4 and an IPv6 version, the latter identified by ''​v6''​ within the output of UFW’s status command. To make sure IPv6 is enabled, you can check your UFW configuration file at ''/​etc/​default/​ufw''​. Open this file using ''​nano''​ or your favorite command line editor:
  
  
ternet/servers/inventory/set_up_firewall_with_ufw_on_ubuntu_server.txt · Last modified: 2021/10/13 11:08 by winluth