From owner-freebsd-net@FreeBSD.ORG Thu Mar 4 01:00:45 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3B52916A4E0 for ; Thu, 4 Mar 2004 01:00:29 -0800 (PST) Received: from smtp01.uc3m.es (smtp01.uc3m.es [163.117.136.121]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A10143D39 for ; Thu, 4 Mar 2004 01:00:29 -0800 (PST) (envelope-from jrh@it.uc3m.es) Received: from smtp01.uc3m.es (localhost [127.0.0.1]) by localhost.uc3m.es (Postfix) with ESMTP id E6D4C10516 for ; Thu, 4 Mar 2004 10:00:27 +0100 (CET) Received: from localhost.invalid (unknown [163.117.140.30]) by smtp01.uc3m.es (Postfix) with ESMTP id D2D88F159 for ; Thu, 4 Mar 2004 10:00:27 +0100 (CET) From: Juan Rodriguez Hervella Organization: UC3M To: freebsd-net@freebsd.org Date: Thu, 4 Mar 2004 10:00:25 +0100 User-Agent: KMail/1.6 MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200403041000.25489.jrh@it.uc3m.es> Subject: openVPN question X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Mar 2004 09:00:45 -0000 Tuc at the Beach House said: > Hi, > > --redirect-gateway > Automatically execute routing commands to cause all > outgoing IP traffic to be redirected over the VPN. > Currently implemented only on Linux and Windows. An James Yonan said: > Ah, yes, that's a problem. > > The --redirect-gateway implementation needs to be able to get the IP address > of the current default gateway. Unfortunately the standard Berkeley sockets > API doesn't give us a portable way of doing this. Anyone know how to > do this on FreeBSD? So ? :) -- ****** JFRH ******