尝试自动在firewalld中开放端口

This commit is contained in:
GoEdgeLab
2022-01-03 16:28:02 +08:00
parent 2297d069d9
commit d9458913c8
5 changed files with 576 additions and 553 deletions

View File

@@ -50,6 +50,7 @@ type NodeConfig struct {
SystemServices map[string]maps.Map `yaml:"systemServices" json:"systemServices"` // 系统服务配置 type => params
FirewallActions []*firewallconfigs.FirewallActionConfig `yaml:"firewallActions" json:"firewallActions"`
TimeZone string `yaml:"timeZone" json:"timeZone"`
AutoOpenPorts bool `yaml:"autoOpenPorts" json:"autoOpenPorts"`
MetricItems []*serverconfigs.MetricItemConfig `yaml:"metricItems" json:"metricItems"`