The script for iptables. It is very convenient because it is not necessary every time the edit rules, you just have to add to the file name of the site and it will run after the program is available. Runs from console: firewall.py <rulse. At the end of the file is required to deliver 0 to exit the loop. Also it is necessary to correct the server ip address and dns.