为什么我在图形防火墙(gufw)中创建的规则被删除(强制删除)?

为什么我在图形防火墙(gufw)中创建的规则被删除(强制删除)?

我使用 18.04 中的图形防火墙为 3 个服务创建了规则。在创建这些规则时,规则没有问题,并且这些项目可以从我家网络上的其他机器访问。

第二天,什么都没起作用。当我检查防火墙日志时,我看到了如下条目:

 06/15/2018 07:00:39 AM] Deleting previous rules: 1 /usr/sbin/ufw --force delete 1 > Rule deleted | 
[06/15/2018 07:00:39 AM] Deleting previous rules: 2 /usr/sbin/ufw --force delete 2 > Rule deleted | 
[06/15/2018 07:00:39 AM] Deleting previous rules: 3 /usr/sbin/ufw --force delete 3 > Rule deleted | 
[06/15/2018 07:00:39 AM] Deleting previous rules: 4 /usr/sbin/ufw --force delete 4 > Rule deleted | 
[06/15/2018 07:00:39 AM] Deleting previous rules: 5 /usr/sbin/ufw --force delete 5 > Rule deleted | 
[06/15/2018 07:00:39 AM] Deleting previous rules: 6 /usr/sbin/ufw --force delete 6 > Rule deleted | 
[06/15/2018 07:00:39 AM] Deleting previous rules: 7 /usr/sbin/ufw --force delete 7 > Rule deleted | 
[06/15/2018 07:00:39 AM] Deleting previous rules: 8 /usr/sbin/ufw --force delete 8 > Rule deleted | 
[06/15/2018 07:00:39 AM] Deleting previous rules: 9 /usr/sbin/ufw --force delete 9 > Rule deleted | 
[06/15/2018 07:00:39 AM] Deleting previous rules: 10 /usr/sbin/ufw --force delete 10 > Rule deleted | 
[06/15/2018 07:00:39 AM] Deleting previous rules: 11 /usr/sbin/ufw --force delete 11 > Rule deleted | 
[06/15/2018 07:00:39 AM] Deleting previous rules: 12 /usr/sbin/ufw --force delete 12 > Rule deleted | 
[06/15/2018 07:00:39 AM] Deleting previous rules: 13 /usr/sbin/ufw --force delete 13 > Rule deleted | 
[06/15/2018 07:00:39 AM] Deleting previous rules: 14 /usr/sbin/ufw --force delete 14 > Rule deleted | 

我没有删除这些规则。我检查了偏好设置并在线搜索,没有发现类似的问题。

我今天创建的规则第二天被删除了,原因可能是什么?

答案1

3 天后规则仍然有效,未被删除。我认为我在尝试设置所需规则时无意中这样做了。

相关内容