I have found the answer to this question. I basically had to edit the
vpnc-script and replace the body of the function "get_default_gw" with

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

So now I have vpnc-0.3.3 working on FreeBSD.

- Vishal




On 1/1/07, Vishal Patil <[EMAIL PROTECTED]> wrote:

I am trying to use vpnc 0.3.3 on FreeBSD 6.1 but I get the following
errors

route: bad address:
delete net default

Also this completely screws up the network on my machine :(
Has anyone being successfully in using vpnc 0.3.3 on FreeBSD 6.1?
Thanks.

- Vishal



_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to