mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/1Panel-dev/1Panel.git
synced 2026-09-20 08:03:55 +08:00
feat: support iptables firewall control (#10903)
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user