Skip to content

Instantly share code, notes, and snippets.

@kessler
Created June 28, 2014 16:46
Show Gist options
  • Save kessler/3f18382ab61c2d3aaf7a to your computer and use it in GitHub Desktop.
Save kessler/3f18382ab61c2d3aaf7a to your computer and use it in GitHub Desktop.
iptables off
#!/bin/sh
sudo /etc/init.d/iptables save
sudo /etc/init.d/iptables stop
sudo chkconfig iptables off
sudo /etc/init.d/ip6tables save
sudo /etc/init.d/ip6tables stop
sudo chkconfig ip6tables off
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment