Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'A script to provide VPN split routing via PPPTP' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
A script to provide VPN split routing via PPPTP
Authored by: millz on Nov 17, '03 08:35:53PM

That script basically worked for me in panther, except that the get_location_from_scutil was returning my vpn-assigned client IP address as opposed to the vpn server address.
To fix that, I changed $matches[1] to $matches[0].

Also, I needed to change my vpn config in "internet connect" to use the IP address instead of the hostname of my vpn server. And I used ip addrs in the variables in the script.

Also, I used the other tip provided by another commenter in this thread and added the call to this script to the /System/Library/SystemConfiguration/Kicker.bundle/Contents/Resources/set-hostname script (which has to be edited as root with sudo).

Thanks! I have wanted this for a while now!



[ Reply to This | # ]