Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shijiezhou1/dd3f91adb1a91d6aebdfd22124273824 to your computer and use it in GitHub Desktop.
Save shijiezhou1/dd3f91adb1a91d6aebdfd22124273824 to your computer and use it in GitHub Desktop.
Disable firewall or iptables
# close iptables
service iptables stop
# prevent iptables restart on boot
chkconfig iptables off
# stop firewall
systemctl stop firewalld.service
# prevent firewall restart on boot
systemctl disable firewalld.service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment