After download script following command as root server:
~$ cd /root
~$ git clone https://github.com/xcaro/iptables-firewall-shell-script.git scripts
~$ cd scripts
~$ chmod +x *.fwThen, you can edit firewall rules as per your requirements:
~$ vi /root/scripts/start.fwInstall firewall:
~$ echo '/root/scripts/start.fw' >> /etc/rc.localStart firewall from a shell prompt:
~$ /root/scripts/start.fwStop firewall from a shell prompt:
~$ /root/scripts/stop.fw