02-02-2024 12:45 PM
I am working with the V1 API function Update Network Appliance Firewall Cellular Firewall Rules.
It seems the source and destination ports do not get updated when calling this method.
This is my message body I am sending to the API method:
{
"rules": [
{
"comment": "This is a test 3",
"policy": "allow",
"protocol": "any",
"srcPort": "8080",
"srcCidr": "192.168.129.0/24",
"destPort": "80",
"destCidr": "192.168.128.0/24",
"syslogEnabled": false
}
]
}It seems I can update any other property but the srcPort and destPort. I have successfully updated the comment and subnets several times.
Solved! Go to Solution.
02-02-2024 01:45 PM
You're using this endpoint https://developer.cisco.com/meraki/api-v1/update-network-appliance-firewall-cellular-firewall-rules/? Just tested on my MX and it works fine for source and destination port changes.
02-02-2024 01:45 PM
You're using this endpoint https://developer.cisco.com/meraki/api-v1/update-network-appliance-firewall-cellular-firewall-rules/? Just tested on my MX and it works fine for source and destination port changes.
02-03-2024 10:49 AM
That’s what I was wondering. I am using the dev sandbox. I can’t test this functionality on my production MXs. All the other methods I’ve tested so far seem to work.
Good to know it works. I can move on to test other methods.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide