From owner-freebsd-hackers@FreeBSD.ORG Thu Jan 11 22:53:33 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 701BC16A407; Thu, 11 Jan 2007 22:53:33 +0000 (UTC) (envelope-from tataz@tataz.chchile.org) Received: from postfix2-g20.free.fr (postfix2-g20.free.fr [212.27.60.43]) by mx1.freebsd.org (Postfix) with ESMTP id 2B5D313C441; Thu, 11 Jan 2007 22:53:33 +0000 (UTC) (envelope-from tataz@tataz.chchile.org) Received: from smtp5-g19.free.fr (smtp5-g19.free.fr [212.27.42.35]) by postfix2-g20.free.fr (Postfix) with ESMTP id 334108DCADC; Thu, 11 Jan 2007 22:30:18 +0100 (CET) Received: from tatooine.tataz.chchile.org (tataz.chchile.org [82.233.239.98]) by smtp5-g19.free.fr (Postfix) with ESMTP id 1BF6627A9B; Thu, 11 Jan 2007 23:30:09 +0100 (CET) Received: from obiwan.tataz.chchile.org (unknown [192.168.1.25]) by tatooine.tataz.chchile.org (Postfix) with ESMTP id 665559D3DA; Thu, 11 Jan 2007 22:31:26 +0000 (UTC) Received: by obiwan.tataz.chchile.org (Postfix, from userid 1000) id 41F6E405D; Thu, 11 Jan 2007 23:31:26 +0100 (CET) Date: Thu, 11 Jan 2007 23:31:26 +0100 From: Jeremie Le Hen To: Vishal Patil Message-ID: <20070111223126.GJ2616@obiwan.tataz.chchile.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.13 (2006-08-11) Cc: freebsd-hackers@freebsd.org, freebsd-questions@freebsd.org Subject: Re: vpnc problem X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jan 2007 22:53:33 -0000 Hi Vishal, First of all you should avoid cross-posting. Additionaly, I don't think this is a question for -hackers@. On Wed, Jan 03, 2007 at 08:50:26PM -0500, Vishal Patil wrote: > 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. The port stands in security/vpnc, you should use it. It guess the maintainer has tried it before updating the port and pushed the appropriate patch into the ports tree. Regards -- Jeremie Le Hen < jeremie at le-hen dot org >< ttz at chchile dot org >