linux 防火墙

永久性生效,重启后不会复原

开启: chkconfig iptables on

关闭: chkconfig iptables off

即时生效,重启后复原

开启: service iptables start

关闭: service iptables stop

原文地址:https://www.cnblogs.com/happen-/p/6925243.html