feat: support iptables firewall control (#10903)

This commit is contained in:
ssongliu
2025-11-10 21:17:53 +08:00
committed by GitHub
parent 977a4be3c1
commit 6db79f4b7b
46 changed files with 2691 additions and 378 deletions

View File

@@ -185,6 +185,7 @@ func loadFromPredefined(mgr Controller, keyword string) string {
"1panel-core": {"1panel-core.service"},
"1panel-agent": {"1panel-agent.service"},
"docker": {"docker.service", "dockerd"},
"iptables": {"iptables", "iptables-services"},
}
if val, ok := predefinedMap[keyword]; ok {
for _, item := range val {