1. #!/bin/sh
  2. echo "Stopping firewall and allowing everyone..."
  3. iptables -F
  4. iptables -X
  5. iptables -P INPUT ACCEPT
  6. iptables -P FORWARD ACCEPT
  7. iptables -P OUTPUT ACCEPT