As some readers of Mac OS X Hints have noticed, Apple has removed the set-hostname file (in /System: Library: SystemConfiguration: Kicker.bundle: Contents: Resources) necessary for modifying the routing table when connecting to a VPN.
Instead of using this file as a hook for implementing split routing (as per a previous hint), Tiger has built-in support for split routing, as described in this recent hint.
If you still need to modify your routing tables after VPN connections are established, you can do so by creating the file /etc/ppp/ip-up (with executable permissions), and entering something similar to the following inside:
#!/bin/sh
/sbin/route add xx.yy.zz/24 aa.bb.cc.dd
Replace xx.yy.zz/24 with your destination network and aa.bb.cc.dd with your VPN gateway. Note that you might be able to re-use the fix_vpn_routing.sh script from the equivalent hint for Panther.
•
[9,914 views]

