linux启动和关闭防火墙命令

在此说一下关于启动和关闭防火墙的命令:
1) 重启后生效
开启: chkconfig iptables on
关闭: chkconfig iptables off
2) 即时生效,重启后失效
开启: service iptables start
关闭: service iptables stop

转载于:https://my.oschina.net/garyun/blog/602926

猜你喜欢

转载自blog.csdn.net/weixin_34348111/article/details/91774178