IPTables Configuration Example Script

Originally published at: IPTables Configuration Example Script - Computer How To

Here is basic IPTables Configuration Example Shell Script. This IPTables basic rules will configure IPTables to open HTTP/HTTPS, PING for whole world, and SSH for your IP. Blocks everything else. GitHub Install iptables persistent package To make IPTables rules persistent and auto load after reboot, install iptables persistent package for Ubuntu/Debian: $ sudo apt-get install…