Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

ee99ee

macrumors 6502
Original poster
Mar 9, 2006
270
3
I connect to several VPN networks. Two of them stay connected all of the time, a few others are just on an as-needed basis. When I connect to them, I also get to several other subnets by adding static routes. I don't want my default gateway to be the VPN, so the only way to get to those subnets is to add static routes. I also mount a couple of shares from my script.

The problem is, when my VPN drops out (daily, my ISP here sucks), I have to manually reconnect and manually re-run the script which re-mounts the shares and adds the routes back.

Is there a way to automaticly reconnect to a VPN connection if disconnected? Also, is there a way to automaticly run a shell script or something after the connection is established? That would save me so much of a headache.... wow

-chris
 
Once again... today this was an issue... ugh, anyone?

-chris
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.