ubuntu下用命令操作防火墙
2015-06-25 18:06
281 查看
0、查看防火墙
iptables -L
1、关闭ubuntu的防火墙
ufw disable
开启防火墙
ufw enable
2、卸载了iptables
apt-get remove iptables
3、关闭ubuntu中的防火墙的其余命令
iptables -P INPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -P OUTPUT ACCEPT
iptables -F
iptables -L
1、关闭ubuntu的防火墙
ufw disable
开启防火墙
ufw enable
2、卸载了iptables
apt-get remove iptables
3、关闭ubuntu中的防火墙的其余命令
iptables -P INPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -P OUTPUT ACCEPT
iptables -F
相关文章推荐
- Mat 复制详解
- 强连通分量(SCC)Kosaraju算法学习笔记
- [翻译]lpeg入门教程
- hibernate报错
- ExpandableListView的用法
- 系统内存不足导致的一次数据异常关闭
- 基于EventAggregator的事件发布及订阅
- 转载——数据库创建索引的一些原则
- 状态模式 java && php
- 搭建sentry(一个分布式日志聚合系统)
- 绘图初入。。。
- typedef函数指针用法
- 使用Phar来打包发布PHP程序
- hadoop的安装配置解析
- ios 学习之 NSPredicate 模糊、精确、查询
- centos6.5监控平台nagios搭建与配置
- you must define an input directory
- 两年保存的网页标签分享
- 闭包学习笔记
- 台风“鲸鱼”侵袭越南引发山洪 7人死亡4人失踪