Tuc at the Beach House <t...@tucs-beachin-obx-house.com> said: > Hi, > > --redirect-gateway > Automatically execute routing commands to cause all outgoing IP > traffic to be redirected over the VPN. Currently implemented > only on Linux and Windows.
Ah, yes, that's a problem. The --redirect-gateway implementation needs to be able to get the IP address of the current default gateway. Unfortunately the standard Berkeley sockets API doesn't give us a portable way of doing this. Anyone know how to do this on FreeBSD? Having said that, all is not lost. If you know your gateway address and you know your DHCP server address (and if they are both relatively static), you can write an --up script with route commands to do this. James