Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Jan 2007 20:50:26 -0500
From:      "Vishal Patil" <bsd.devil@gmail.com>
To:        freebsd-hackers@freebsd.org, freebsd-questions@freebsd.org.
Subject:   Re: vpnc problem
Message-ID:  <eb7c8e2e0701031750o6bdb2076h6282b359a1a1a0c8@mail.gmail.com>
In-Reply-To: <eb7c8e2e0701011241l624d7bbbp52329882c6efdf86@mail.gmail.com>
References:  <eb7c8e2e0701011241l624d7bbbp52329882c6efdf86@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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
>
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?eb7c8e2e0701031750o6bdb2076h6282b359a1a1a0c8>