Created
July 1, 2020 13:49
-
-
Save shijiezhou1/dd3f91adb1a91d6aebdfd22124273824 to your computer and use it in GitHub Desktop.
Disable firewall or iptables
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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