Table of Contents

Class PortRule

Namespace
Meraki.Api.Data
Assembly
Meraki.Api.dll

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

List<string>

LocalIp

Local IP address to which traffic will be forwarded

[ApiAccess(ApiAccess.ReadUpdate)]
[DataMember(Name = "localIp")]
public string LocalIp { get; set; }

Property Value

string

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

string

Name

A description of the rule

[ApiAccess(ApiAccess.ReadUpdate)]
[DataMember(Name = "name")]
public string Name { get; set; }

Property Value

string

Protocol

Gets or Sets Protocol

[ApiAccess(ApiAccess.ReadUpdate)]
[DataMember(Name = "protocol")]
public TcpUdpProtocol Protocol { get; set; }

Property Value

TcpUdpProtocol

PublicPort

Destination port of the traffic that is arriving on the WAN

[ApiAccess(ApiAccess.ReadUpdate)]
[DataMember(Name = "publicPort")]
public string PublicPort { get; set; }

Property Value

string