使用命令:
sudo ufw disable && sudo ufw default allow
设置INPUT/FORWARD/OUTPUT为allow
(注意:如果为deny,下一步将使系统的所有网络访问中断,包括ssh)
使用命令:
iptables -L
使用命令:
service firewalld stop
使用命令:
service firewalld start
使用命令:
chkconfig iptables off
sudo ufw disable && sudo ufw default allow
iptables -L
service firewalld stop
service firewalld start
chkconfig iptables off