Wednesday, January 03, 2007

Got vpnc-0.3.3 working on FreeBSD 6.1

If you get "route: bad address:" error like I did, replace the body of the function "get_default_gw" in the vpnc-script with

netstat -r -n | sed 's/default/0.0.0.0/' | grep '^0.0.0.0' | awk '{print $2}'

0 Comments:

Post a Comment

<< Home