vpnc problem

Vishal Patil bsd.devil at gmail.com
Wed Jan 3 17:50:27 PST 2007


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 <bsd.devil at gmail.com> 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
>
>
>


More information about the freebsd-questions mailing list