会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
phoenix tree
博客园
首页
新随笔
联系
订阅
管理
debian iptables持久化
1 保存iptables
iptables
-
save
>
/
etc
/
iptables.rules
2 创建启动文件
touch
/
etc
/
network
/
if
-
pre
-
up
.d
/
iptables
chmod
+
x
/
etc
/
network
/
if
-
pre
-
up
.d
/
iptables
内容如下:
#!/bin/sh
iptables -F
/
sbin
/
iptables
-
restore
<
/
etc
/
iptables.rules
posted @
2018-03-15 17:22
PhoenixTree(梧桐树)
阅读(
477
) 评论(
0
)
收藏
举报
刷新页面
返回顶部
公告