Hi,
I have a hub and spoke network. I have set up VPN Exclusion via the API however the traffic still uses the VPN unless I put a static route in place to point the destination IP to one of the WAN interfaces. The documentation doesn't mention that static routes are needed. Also if the WAN interface fails, the destination IP becomes unavailable until the WAN interface comes back up. There is no way to set a secondary static route to use the secondary WAN interface.
This is what I have for the VPN Exclusion code.
dashboard.appliance.updateNetworkApplianceTrafficShapingVpnExclusions(site,\
custom=[{'protocol': 'tcp', 'destination': '172.67.73.20/32'},\
{'protocol': 'tcp', 'destination': '104.26.9.109/32'},\
{'protocol': 'tcp', 'destination': '104.26.8.109/32'}]\
,majorApplications=[{'id': 'meraki:vpnExclusion/application/10'}])
We have Internal and External Hubs. The External Hub is set as the default route.
I'd appreciate any ideas.
Thanks