This commit is contained in:
2024-04-16 14:26:06 +03:00
parent bc264c4d90
commit e7c968797b
298 changed files with 11066 additions and 398 deletions

View File

@@ -16,16 +16,16 @@ type NATRuleAddRequest struct {
// Internal IP address to apply this rule to
// Required: true
IntIP string `url:"intIp " json:"intIp " validate:"required"`
// Internal IP port number to use for this rule
// Required: true
IntPort uint64 `url:"intPort" json:"intPort" validate:"required"`
IntIP string `url:"intIp" json:"intIp" validate:"required"`
// External IP start port to use for this rule
// Required: true
ExtPortStart uint64 `url:"extPortStart" json:"extPortStart" validate:"required"`
// Internal IP port number to use for this rule
// Required: false
IntPort uint64 `url:"intPort,omitempty" json:"intPort,omitempty"`
// External IP end port to use for this rule
// Required: false
ExtPortEnd uint64 `url:"extPortEnd,omitempty" json:"extPortEnd,omitempty"`