linux 下iptables 执行清除命令 iptables -F 要非常小心
2013-11-28 12:35
423 查看
linux 下iptables 执行清除命令 iptables -F 要非常小心
在linux系统已经配置好iptables的情况下,一定要非常小心的使用iptables -F,如果默认策略已经配置为deny的话,再使用iptables -F,会导致网络立马中断!(亲身经历啊!
......)
如果想清空的话,先执行
iptables -P INPUT ACCEPT
(先把默认策略改为ACCEPT)
然后执行
iptables -F (之前前一定要查看iptables
-L,确认默认策略为ACCEPT)
在linux系统已经配置好iptables的情况下,一定要非常小心的使用iptables -F,如果默认策略已经配置为deny的话,再使用iptables -F,会导致网络立马中断!(亲身经历啊!
......)
如果想清空的话,先执行
iptables -P INPUT ACCEPT
(先把默认策略改为ACCEPT)
然后执行
iptables -F (之前前一定要查看iptables
-L,确认默认策略为ACCEPT)
相关文章推荐
- iptables 执行清除命令 iptables -F 要非常小心的
- iptables 执行清除命令 iptables -F 要非常小心的
- iptables 执行清除命令 iptables -F 要非常小心的 .
- iptables 执行清除命令 iptables -F 要非常小心的
- linux 执行 iptables 命令出错 segmentation fault (core dumped) 的解决
- linux 防火墙 iptables 常用命令
- linux定时执行mount命令
- PHP在linux上执行外部命令的方法
- linux下指定特定用户执行命令
- Android点滴(1) -- 执行Linux命令并且获得输出的结果
- Linux下用socket实现远程执行命令
- linux iptables命令详解
- linux命令之watch -- 周期性地执行命令
- Linux source命令与脚本的执行方式对比
- Linux前台的程序转到后台执行(关闭终端而不杀死命令)
- 对 Linux 新手非常有用的 20 个命令
- Linux执行命令提示:bash:command not found
- linux执行命令之后显示error while loading shared libraries
- java 使用jsch 远程链接linux执行命令
- android 在手机sd 卡中执行linux 命令 和shell 脚本