add

A permanent static route for Macintosh OS X (10.4.7)

I have set up OpenVPN on our pribvate network, but our special setup requires manually adding a static entry to the routing table of computers that we want to access from the outside via our VPN server. In SuSE Linux this is a nobrainer as Yast provides a section where to add static routing information. On MacOS X the command line works, but upon reboot the route is lost:

route add 10.8.0.0/24 192.168.0.2

Check what the route is for a specific IP:

route get 10.8.0.1