Set The 1 Many NAT Mapping Rules For An MX Network

PUT {{baseUrl}}/networks/:networkId/appliance/firewall/oneToManyNatRules

Set the 1:Many NAT mapping rules for an MX network #### Body Parameters Parameter|Type|Description :-------------: |:-------------: |:-------------: rules| array| An array of 1:Many nat rules

Request Body

{"rules"=>[{"publicIp"=>"<string>", "uplink"=>"<string>", "portRules"=>[{"name"=>"<string>", "protocol"=>"<string>", "publicPort"=>"<string>", "localIp"=>"<string>", "localPort"=>"<string>", "allowedIps"=>["<string>", "<string>"]}, {"name"=>"<string>", "protocol"=>"<string>", "publicPort"=>"<string>", "localIp"=>"<string>", "localPort"=>"<string>", "allowedIps"=>["<string>", "<string>"]}]}, {"publicIp"=>"<string>", "uplink"=>"<string>", "portRules"=>[{"name"=>"<string>", "protocol"=>"<string>", "publicPort"=>"<string>", "localIp"=>"<string>", "localPort"=>"<string>", "allowedIps"=>["<string>", "<string>"]}, {"name"=>"<string>", "protocol"=>"<string>", "publicPort"=>"<string>", "localIp"=>"<string>", "localPort"=>"<string>", "allowedIps"=>["<string>", "<string>"]}]}]}

HEADERS

KeyDatatypeRequiredDescription
X-Cisco-Meraki-API-Keynull
Content-Typestring

RESPONSES

status: OK

{&quot;rules&quot;:[{&quot;publicIp&quot;:&quot;146.11.11.13&quot;,&quot;uplink&quot;:&quot;internet1&quot;,&quot;portRules&quot;:[{&quot;name&quot;:&quot;Rule 1&quot;,&quot;protocol&quot;:&quot;tcp&quot;,&quot;publicPort&quot;:&quot;9443&quot;,&quot;localIp&quot;:&quot;192.168.128.1&quot;,&quot;localPort&quot;:&quot;443&quot;,&quot;allowedIps&quot;:[&quot;any&quot;]},{&quot;name&quot;:&quot;Rule 2&quot;,&quot;protocol&quot;:&quot;tcp&quot;,&quot;publicPort&quot;:&quot;8080&quot;,&quot;localIp&quot;:&quot;192.168.128.1&quot;,&quot;localPort&quot;:&quot;80&quot;,&quot;allowedIps&quot;:[&quot;10.82.110.0/24&quot;,&quot;10.82.111.0/24&quot;]}]}]}