cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3751
Views
5
Helpful
5
Replies

Wireless Outbound Firewall Rules

PacJ
Community Member

I am using a python script to update the Wireless Firewall outbound rules, but I am getting this error, "For ACL rules applied to both IPv4 and IPv6, Destination address must be 'any'\"."]}"

How do I set it to only IPv4?

"comment": "Allow",
"policy": "allow",
"protocol": "Any",
"destPort": "Any",
"destCidr": "192.168.64.0/21"

1 Accepted Solution

Accepted Solutions

Raphael_L
Meraki Community All-Star
Meraki Community All-Star

As suggested , A get will return this key :

{"rules":[{"comment":"Test","ipVer":"ipv4","policy":"allow","protocol":"tcp","destPort":"Any","destCidr":"1.1.1.1/32"}

View solution in original post

5 Replies 5

aleabrahao
Meraki Community All-Star
Meraki Community All-Star

The "IP Version" parameter is missing. You need to set it to IPv4, IPv6 or any.

I am not a Cisco employee. My suggestions are based on documentation of Meraki best practices and day-to-day experience.

Please, if this post was useful, leave your kudos and mark it as solved.

aleabrahao
Meraki Community All-Star
Meraki Community All-Star

I suggest you do a GET first, as this parameter is not in the API documentation.

I am not a Cisco employee. My suggestions are based on documentation of Meraki best practices and day-to-day experience.

Please, if this post was useful, leave your kudos and mark it as solved.

Raphael_L
Meraki Community All-Star
Meraki Community All-Star

As suggested , A get will return this key :

{"rules":[{"comment":"Test","ipVer":"ipv4","policy":"allow","protocol":"tcp","destPort":"Any","destCidr":"1.1.1.1/32"}

aleabrahao
Meraki Community All-Star
Meraki Community All-Star

Nice.

I am not a Cisco employee. My suggestions are based on documentation of Meraki best practices and day-to-day experience.

Please, if this post was useful, leave your kudos and mark it as solved.

PacJ
Community Member

Thanks, that was it the

ipVer":"ipv4"