deepin20下可用的防火墙?
Tofloor
poster avatar
wwdboy
deepin
2020-11-17 22:20
Author

deepin 20有没有能用的防火墙?能控制单个应用联网的那种,装的什么firewalld,UFW太复杂了,不好用,deepin defender装上启动不了,估计也废了。

Reply Favorite View the author
All Replies
SamLukeYes
deepin
2020-11-17 22:35
#1

gufw,是 ufw 的图形化前端,很直观

Reply View the author
wwdboy
deepin
2020-11-17 23:08
#2
SamLukeYes

gufw,是 ufw 的图形化前端,很直观

不好用,只能设置端口区域之类的,我就想禁止某个应用联网,很简单的需求

Reply View the author
roy_lz
deepin
2020-11-18 00:09
#3

iptables?

Reply View the author
北冥夜未央
deepin
Ecological co-builder
2020-11-18 00:30
#4
wwdboy

不好用,只能设置端口区域之类的,我就想禁止某个应用联网,很简单的需求

那不就是你的需求么,把应用程序的联网端口禁用了不就可以了

Reply View the author
Ziggy
deepin
2020-11-18 02:48
#5
wwdboy

不好用,只能设置端口区域之类的,我就想禁止某个应用联网,很简单的需求

应用代理

Reply View the author
wwdboy
deepin
2020-11-18 05:34
#6
北冥夜未央

那不就是你的需求么,把应用程序的联网端口禁用了不就可以了

禁止某个应用联网还得找出端口,这也太不用户友好了,有几个普通用户能知道怎么找端口的,Linux下的软件不是一般的难用,我倒是搜到一个按应用禁止的Douane,可惜20装不上,提示错误

Reply View the author
北冥夜未央
deepin
Ecological co-builder
2020-11-18 07:48
#7
wwdboy

禁止某个应用联网还得找出端口,这也太不用户友好了,有几个普通用户能知道怎么找端口的,Linux下的软件不是一般的难用,我倒是搜到一个按应用禁止的Douane,可惜20装不上,提示错误

哈哈,所以它到现在也普及不了,什么时候大部分操作可以图形界面实现控制,估计就可以普及了。

Reply View the author
神末shenmo
deepin
Spark-App
Q&A Team
2020-11-18 12:47
#8


deepin-defender之前因为商业分发的原因只好被砍了一刀,估计是砍了之后出了点问题。。。

他就是来解决Linux下这种需求没有简单好用的软件的

建议去gh的deepin-defender提issue

论坛专门以deepin-defender为题发bug反馈帖子

这些都能让开发组了解到你的需求


Reply View the author
神末shenmo
deepin
Spark-App
Q&A Team
2020-11-18 12:48
#9
北冥夜未央

哈哈,所以它到现在也普及不了,什么时候大部分操作可以图形界面实现控制,估计就可以普及了。


deepin-defender不就是解决这个问题的嘛

Reply View the author
北冥夜未央
deepin
Ecological co-builder
2020-11-18 16:06
#10
神末shenmo


deepin-defender不就是解决这个问题的嘛

可惜在deepin下不给安装。

Reply View the author
神末shenmo
deepin
Spark-App
Q&A Team
2020-11-18 16:17
#11
北冥夜未央

可惜在deepin下不给安装。

可以安装的

但是那个杀毒模块不开源,考虑到之前的镜像源风波,官方决定把杀毒阉割之后再带

现在应该是没调整完呢

Reply View the author
剥壳白煮蛋
deepin
2021-02-20 22:33
#12

2.1.7-1 刚刚安装成功,可以用了。

Reply View the author
海边的沙泺
deepin
2022-03-01 01:30
#13

firewalld防火墙无法使用

root@luckyxu:/home/luckyxu# firewall-cmd --reload

Error: COMMAND_FAILED: '/usr/sbin/ebtables-restore --noflush' failed:
line 4: RULE_REPLACE failed (No such file or directory): rule in chain PREROUTING
line 4: RULE_REPLACE failed (No such file or directory): rule in chain OUTPUT
line 4: RULE_REPLACE failed (No such file or directory): rule in chain POSTROUTING.

root@luckyxu:/home/luckyxu# firewall-cmd --list-ports

Error: INVALID_ZONE


● firewalld.service - firewalld - dynamic firewall daemon
Loaded: loaded (/lib/systemd/system/firewalld.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2022-02-28 17:22:30 CST; 6min ago
Docs: man:firewalld(1)
Main PID: 1924 (firewalld)
Tasks: 2 (limit: 4915)
Memory: 34.1M
CGroup: /system.slice/firewalld.service
└─1924 /usr/bin/python3 /usr/sbin/firewalld --nofork --nopid

2月 28 17:24:57 luckyxu firewalld[1924]: ERROR: '/usr/sbin/ip6tables-restore -w -n' failed: ip6tables-restore v1.8
line 4: RULE_REPLACE failed (No such file or directory): rule in chain O
2月 28 17:24:57 luckyxu firewalld[1924]: ERROR: '/usr/sbin/ebtables-restore --noflush' failed:
line 4: RULE_REPLACE failed (No such file or directory): rule in chain P
line 4: RULE_REPLACE failed (No such file or directory): rule in chain O
line 4: RULE_REPLACE failed (No such file or directory): rule in chain P
2月 28 17:24:57 luckyxu firewalld[1924]: ERROR: COMMAND_FAILED: '/usr/sbin/ebtables-restore --noflush' failed:
line 4: RULE_REPLACE failed (No such file or directory): rule in chain P
line 4: RULE_REPLACE failed (No such file or directory): rule in chain O
line 4: RULE_REPLACE failed (No such file or directory): rule in chain P
2月 28 17:26:25 luckyxu firewalld[1924]: ERROR: INVALID_ZONE
2月 28 17:26:28 luckyxu firewalld[1924]: ERROR: INVALID_ZONE
2月 28 17:28:31 luckyxu firewalld[1924]: ERROR: '/usr/sbin/iptables-restore -w -n' failed: iptables-restore v1.8.2
line 4: RULE_REPLACE failed (No such file or directory): rule in chain I
line 4: RULE_REPLACE failed (No such file or directory): rule in chain F
line 4: RULE_REPLACE failed (No such file or directory): rule in chain O
Reply View the author
db-root
deepin
2023-09-12 21:10
#14
海边的沙泺

firewalld防火墙无法使用

root@luckyxu:/home/luckyxu# firewall-cmd --reload

Error: COMMAND_FAILED: '/usr/sbin/ebtables-restore --noflush' failed:
line 4: RULE_REPLACE failed (No such file or directory): rule in chain PREROUTING
line 4: RULE_REPLACE failed (No such file or directory): rule in chain OUTPUT
line 4: RULE_REPLACE failed (No such file or directory): rule in chain POSTROUTING.

root@luckyxu:/home/luckyxu# firewall-cmd --list-ports

Error: INVALID_ZONE


● firewalld.service - firewalld - dynamic firewall daemon
Loaded: loaded (/lib/systemd/system/firewalld.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2022-02-28 17:22:30 CST; 6min ago
Docs: man:firewalld(1)
Main PID: 1924 (firewalld)
Tasks: 2 (limit: 4915)
Memory: 34.1M
CGroup: /system.slice/firewalld.service
└─1924 /usr/bin/python3 /usr/sbin/firewalld --nofork --nopid

2月 28 17:24:57 luckyxu firewalld[1924]: ERROR: '/usr/sbin/ip6tables-restore -w -n' failed: ip6tables-restore v1.8
line 4: RULE_REPLACE failed (No such file or directory): rule in chain O
2月 28 17:24:57 luckyxu firewalld[1924]: ERROR: '/usr/sbin/ebtables-restore --noflush' failed:
line 4: RULE_REPLACE failed (No such file or directory): rule in chain P
line 4: RULE_REPLACE failed (No such file or directory): rule in chain O
line 4: RULE_REPLACE failed (No such file or directory): rule in chain P
2月 28 17:24:57 luckyxu firewalld[1924]: ERROR: COMMAND_FAILED: '/usr/sbin/ebtables-restore --noflush' failed:
line 4: RULE_REPLACE failed (No such file or directory): rule in chain P
line 4: RULE_REPLACE failed (No such file or directory): rule in chain O
line 4: RULE_REPLACE failed (No such file or directory): rule in chain P
2月 28 17:26:25 luckyxu firewalld[1924]: ERROR: INVALID_ZONE
2月 28 17:26:28 luckyxu firewalld[1924]: ERROR: INVALID_ZONE
2月 28 17:28:31 luckyxu firewalld[1924]: ERROR: '/usr/sbin/iptables-restore -w -n' failed: iptables-restore v1.8.2
line 4: RULE_REPLACE failed (No such file or directory): rule in chain I
line 4: RULE_REPLACE failed (No such file or directory): rule in chain F
line 4: RULE_REPLACE failed (No such file or directory): rule in chain O

我也是同样问题

Reply View the author