Iptables accept all script

a guest Jun 15th, 2012 41 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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
RAW Paste Data
Want to get better at Bash?
Learn to code Bash in 2017