Skip to content

[Bug] Community Edition v2.0.16 loses firewall rules (iptables) after restart #11553

@602362837

Description

@602362837

Contact Information

No response

1Panel Version

社区版 v2.0.16

Problem Description

操作系统ubuntu24,1panel版本 社区版 v2.0.16
目前发现端口拒绝所有ip规则在reboot后会变成允许所有ip
端口制定多个网段允许在reboot后会变成允许所有ip
防火墙开启禁止ping,reboot后会重新允许

Steps to Reproduce

1、防火墙使用iptables,开启禁ping
2、增加80端口规则(拒绝所有)
3、增加443端口规则(允许部分ip)举例如下
103.21.244.0/22,103.22.200.0/22
4、执行reboot
5、再回到防火墙(以下均为异常)
6、80端口规则变成允许所有
7、443端口规则变为允许所有
8、禁ping又重新被允许了

The expected correct result

No response

Related log output

Additional Information

No response

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions