Class VpnFirewallRule
Rule14
[DataContract]
public class VpnFirewallRule
- Inheritance
-
VpnFirewallRule
- Inherited Members
Properties
Comment
Description of the rule (optional)
[ApiAccess(ApiAccess.ReadUpdate)]
[DataMember(Name = "comment")]
public string? Comment { get; set; }
Property Value
DestinationCidr
Comma-separated list of destination IP address(es) (in IP or CIDR notation) or 'any' (FQDN not supported)
[ApiAccess(ApiAccess.ReadUpdate)]
[DataMember(Name = "destCidr")]
public string DestinationCidr { get; set; }
Property Value
DestinationPort
Comma-separated list of destination port(s) (integer in the range 1-65535), or 'any'
[ApiAccess(ApiAccess.ReadUpdate)]
[DataMember(Name = "destPort")]
public string DestinationPort { get; set; }
Property Value
Policy
'allow' or 'deny' traffic specified by this rule
[ApiAccess(ApiAccess.ReadUpdate)]
[DataMember(Name = "policy")]
public AllowOrDeny Policy { get; set; }
Property Value
Protocol
The type of protocol (must be 'tcp', 'udp', 'icmp' or 'any')
[ApiAccess(ApiAccess.ReadUpdate)]
[DataMember(Name = "protocol")]
public FirewallProtocol Protocol { get; set; }
Property Value
SourceCidr
Comma-separated list of source IP address(es) (in IP or CIDR notation), or 'any' (FQDN not supported)
[ApiAccess(ApiAccess.ReadUpdate)]
[DataMember(Name = "srcCidr")]
public string SourceCidr { get; set; }
Property Value
SourcePort
Comma-separated list of source port(s) (integer in the range 1-65535), or 'any'
[ApiAccess(ApiAccess.ReadUpdate)]
[DataMember(Name = "srcPort")]
public string SourcePort { get; set; }
Property Value
SyslogEnabled
Log this rule to syslog (true or false, boolean value) - only applicable if a syslog has been configured (optional)
[ApiAccess(ApiAccess.ReadUpdate)]
[DataMember(Name = "syslogEnabled")]
public bool? SyslogEnabled { get; set; }
Property Value
- bool?