Class PortRule
PortRule
[DataContract]
public class PortRule
- Inheritance
-
PortRule
- Inherited Members
Properties
AllowedIps
Remote IP addresses or ranges that are permitted to access the internal resource via this port forwarding rule, or 'any'
[ApiAccess(ApiAccess.ReadUpdate)]
[DataMember(Name = "allowedIps")]
public List<string> AllowedIps { get; set; }
Property Value
LocalIp
Local IP address to which traffic will be forwarded
[ApiAccess(ApiAccess.ReadUpdate)]
[DataMember(Name = "localIp")]
public string LocalIp { get; set; }
Property Value
LocalPort
Destination port of the forwarded traffic that will be sent from the MX to the specified host on the LAN. If you simply wish to forward the traffic without translating the port, this should be the same as the Public port
[ApiAccess(ApiAccess.ReadUpdate)]
[DataMember(Name = "localPort")]
public string LocalPort { get; set; }
Property Value
Name
A description of the rule
[ApiAccess(ApiAccess.ReadUpdate)]
[DataMember(Name = "name")]
public string Name { get; set; }
Property Value
Protocol
Gets or Sets Protocol
[ApiAccess(ApiAccess.ReadUpdate)]
[DataMember(Name = "protocol")]
public TcpUdpProtocol Protocol { get; set; }
Property Value
PublicPort
Destination port of the traffic that is arriving on the WAN
[ApiAccess(ApiAccess.ReadUpdate)]
[DataMember(Name = "publicPort")]
public string PublicPort { get; set; }