Skip to main content

One to Many NAT Rules

Location in Dashboard: Security and SD-WAN >> Configure >> Firewall >> Forwarding rules

Diagram

Classes

firewall (meraki.domains.organizations.networks.appliance)

NameTypeConstraintMandatoryDefault Value
one_to_many_nat_rulesList[one_to_many_nat_rules]No

one_to_many_nat_rules (meraki.domains.organizations.networks.appliance.firewall)

NameTypeConstraintMandatoryDefault Value
public_ipIPYes
uplinkStringRegex: ^internet\d+$Yes
port_rulesList[port_rules]Yes

port_rules (meraki.domains.organizations.networks.appliance.firewall.one_to_many_nat_rules)

NameTypeConstraintMandatoryDefault Value
nameStringmin: 1, max: 127No
protocolChoicetcp, udpNo
public_portAnyInteger[min: 1, max: 65535] or String[matches: `(?:[1-9][0-9]3[1-5][0-9]46[0-4][0-9]3
local_ipIPNo
local_portAnyInteger[min: 1, max: 65535] or String[matches: `(?:[1-9][0-9]3[1-5][0-9]46[0-4][0-9]3
allowed_ipsListAny[IP or String[matches: [Aa]ny]]No

Config Sample

meraki:
domains:
- name: EMEA
administrator:
name: Foo Bar
organizations:
- name: Dev
networks:
- name: Dev-main-cx-provider
product_types:
- appliance
- camera
- switch
- wireless
appliance:
firewall_one_to_many_nat:
rules:
- public_ip: "203.0.113.1"
uplink: internet1
port_rules:
- name: "Web Server"
protocol: tcp
public_port: 80
local_ip: "192.168.1.100"
local_port: 80
allowed_ips:
- any
- name: "RDP"
protocol: tcp
public_port: 3389
local_ip: "1.1.1.200"
local_port: 3389
allowed_ips:
- any