Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
deepin系统防火墙iptables设置生效问题
Experiences and Insight
1854
views ·
3
replies ·
To
floor
Go
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
Like 0
Favorite
View the author
All Replies
181******81
deepin
2020-03-25 19:11
#1
好像要装一个iptable的什么包才能保存规则。
Reply
Like 0
View the author
lemonuni
deepin
2020-03-27 07:10
#2
https://bbs.deepin.org/post/190062
好像要装一个iptable的什么包才能保存规则。
安装了ufw,都不行
Reply
Like 0
View the author
lemonuni
deepin
2020-03-27 07:14
#3
有人可以帮忙解决一下吗?谢谢
Reply
Like 0
View the author
Please
sign
in first
Featured Collection
Change
[Tutorial] deepin25 WSL Offline Installation Guide
UOS AI 2.8 Released! Three New Intelligent Agents & Major Evolution
Solid Q&A | deepin 25 Common Questions – The Immutable System Edition
New Thread
Popular Events
More
#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操作系统后,又失效了,这个怎么处理?谢谢!