linux iptables关闭/开启(重启机器生效):
开启: chkconfig iptables on
关闭: chkconfig iptables off
linux iptables启用/禁用(立即生效,重启机器失效).
启用: service iptables start
禁用: service iptables stop
本文介绍了 Linux 系统中 iptables 的基本操作方法,包括如何开启、关闭、启用及禁用 iptables 服务,提供了两种不同的操作方式,并区分了立即生效与重启机器后生效的不同之处。
linux iptables关闭/开启(重启机器生效):
开启: chkconfig iptables on
关闭: chkconfig iptables off
linux iptables启用/禁用(立即生效,重启机器失效).
启用: service iptables start
禁用: service iptables stop
2442
1847

被折叠的 条评论
为什么被折叠?