{"id":20794,"date":"2016-11-14T07:50:30","date_gmt":"2016-11-14T13:50:30","guid":{"rendered":"https:\/\/www.rosehosting.com\/blog\/?p=20794"},"modified":"2022-06-03T03:42:32","modified_gmt":"2022-06-03T08:42:32","slug":"set-up-firewall-with-ufw-on-ubuntu","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/set-up-firewall-with-ufw-on-ubuntu\/","title":{"rendered":"How To Set Up a Firewall with UFW on Ubuntu 16.04"},"content":{"rendered":"
<\/div>

\"Set
\nWe’ll show you, how to set up a firewall with UFW on Ubuntu 16.04. If you have an Ubuntu server and you like to control the incoming and outgoing network traffic you need to configure the firewall that is included with your system. Linux kernel includes the netfilter<\/code> subsystem which is a system for packet filtering. The traditional interface for manipulating netfilter is via iptables<\/code>, which is primarily a database of firewall rules. The Uncomplicated Firewall<\/code> or ufw<\/code> is a frontend for iptables and it makes the iptables firewall configuration<\/a> and blocking IP addresses<\/a> much easier. In this guide, we will show you how to set up a firewall using UFW on a Linux VPS running Ubuntu 16.04<\/code> as an operating system.<\/p>\n

<\/p>\n

\n

Table of Contents<\/p>\n