Created
March 13, 2020 16:47
-
-
Save zh-h/ffae133368f08cbd0ee5820b2ddfcee1 to your computer and use it in GitHub Desktop.
off firewall
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
sudo systemctl stop firewalld.service | |
sudo iptables -P INPUT ACCEPT | |
sudo iptables -P FORWARD ACCEPT | |
sudo iptables -P OUTPUT ACCEPT | |
sudo iptables -F | |
chkconfig iptables off | |
sudo service iptables off | |
sudo service iptables stop | |
sudo apt-get purge netfilter-persistent | |
sudo apt autoremove | |
sudo apt purge | |
sudo reboot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment