deepin系统防火墙iptables设置生效问题
Tofloor
poster avatar
lemonuni
deepin
2020-03-25 16:23
Author
安装ufw并设置iptables后生效。
#iptables -I OUTPUT -p udp -m string --string "4399.com" --algo kmp -j DROP
# iptables -I OUTPUT -p tcp -m string --string "4399.com" --algo bm -j DROP

# sudo iptables-save


但是重启deepin操作系统后,又失效了,这个怎么处理?谢谢!
Reply Favorite View the author
All Replies
avatar
181******81
deepin
2020-03-25 19:11
#1
好像要装一个iptable的什么包才能保存规则。
Reply View the author
avatar
lemonuni
deepin
2020-03-27 07:10
#2
https://bbs.deepin.org/post/190062
好像要装一个iptable的什么包才能保存规则。

安装了ufw,都不行
Reply View the author
avatar
lemonuni
deepin
2020-03-27 07:14
#3
有人可以帮忙解决一下吗?谢谢
Reply View the author