Linux防火墙(iptables)的开启与关闭
Linux中的防火墙主要是对iptables的设置和管理.
1. Linux防火墙(Iptables)重启系统生效
- 开启: chkconfig iptables on
- 关闭: chkconfig iptables off
2.Linux防火墙(Iptables) 即时生效,重启后失效
- 开启: service iptables start
- 关闭: service iptables stop
Linux防火墙(iptables)的开启与关闭
Linux中的防火墙主要是对iptables的设置和管理.
1. Linux防火墙(Iptables)重启系统生效
- 开启: chkconfig iptables on
- 关闭: chkconfig iptables off
2.Linux防火墙(Iptables) 即时生效,重启后失效
- 开启: service iptables start
- 关闭: service iptables stop