This commit is contained in:
2023-11-03 11:17:45 +03:00
parent 4120cd2b1a
commit 84c0248019
40 changed files with 964 additions and 73 deletions

View File

@@ -336,6 +336,9 @@ type RecordGW struct {
InfoVNF
}
// List NATRules
type ListNatRule []ItemNATRule
// NAT config
type NATConfig struct {
// Network mask
@@ -345,7 +348,7 @@ type NATConfig struct {
Network string `json:"network"`
// Rules
Rules []ItemNATRule `json:"rules"`
Rules ListNatRule `json:"rules"`
}
// Main information about NAT