Ok, here’s what happened today at the enterprise network. I plugged in the AR750, it connected right up to the enterprise wifi, the OpenVPN client even connected (via stunnel) but of course there was no traffic. I had to ssh in, issue the route add for the VPN IP, disconnect and reconnect to OpenVPN. Then everything worked.

So the biggest question of the few that I have is: is there a way to run the route add automatically when the WWAN interface comes up? I’m looking for an /etc/network/ifup.d/ directory to drop a script but there is no /etc/network on the AR750. Where could I add a script that would run when WWAN is connected? I think specifically I would do it for “wlan-sta” which is the interface that connects to the enterprise network.

I’d like to do it this way, as opposed to having something get added at OS startup, in the event the gateway is different, like when the configuration on the network changes or when I connect to a different network. I figured in the script I could find out what the current gw is, and then add the route. Better yet if there’s an ifdown script I could remove that route too, though I’m less worried about that because a simple reboot of the AR750 would be sufficient.