How To Set Up a Firewall with UFW in Ubuntu \ Debian

Introduction The Linux kernel includes the Netfilter subsystem, which is used to manipulate or decide the fate of network traffic headed into or through your server. All modern Linux firewall solutions use this system for packet filtering. UFW – Uncomplicated Firewall The default firewall configuration tool for Ubuntu is UFW. Developed to ease iptables firewall configuration, UFW […]
A simple iptables firewall script to block all ports except port 80 and give port 22 to certain ip’s

This simple script is very useful and very simple and will give you the basics of what you can do with linux iptables firewall. Make a file: Paste all the info and correct the ip addresses with you owns. Give it some permissions And run the script. Now this was tested in ubuntu 17.04 but […]