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"
Solved! Go to solution.
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"}
The "IP Version" parameter is missing. You need to set it to IPv4, IPv6 or any.
I suggest you do a GET first, as this parameter is not in the API documentation.
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"}
Nice.
Thanks, that was it the
ipVer":"ipv4"