From owner-freebsd-questions@FreeBSD.ORG Fri Dec 5 01:23:40 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B039A16A4CE for ; Fri, 5 Dec 2003 01:23:40 -0800 (PST) Received: from ctb-mesg1.saix.net (ctb-mesg1.saix.net [196.25.240.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id 653C643F85 for ; Fri, 5 Dec 2003 01:23:38 -0800 (PST) (envelope-from matt@databias.co.za) Received: from databias.co.za (wblv-240-111.telkomadsl.co.za [165.165.240.111]) by ctb-mesg1.saix.net (Postfix) with ESMTP id DDC39B098; Fri, 5 Dec 2003 11:23:34 +0200 (SAST) Received: from matt by databias.co.za with local (Exim 4.20) id 1ASE3Z-0000ft-4l; Fri, 05 Dec 2003 11:23:33 +0000 Date: Fri, 5 Dec 2003 11:23:33 +0000 From: Matthew Faircliff To: Tom Thompson Message-ID: <20031205112333.GA2442@databias.co.za> References: <200312041850.AA216072402@callcds.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200312041850.AA216072402@callcds.com> User-Agent: Mutt/1.4.1i cc: questions@freebsd.org Subject: Re: IPSEC Tunnel Routing question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Dec 2003 09:23:40 -0000 Hello Tom, So I assume by working you mean that the two computers can ping one another? If so, simply set the computer in Builing B to have a default route to the IP of the computer in Building A: [Building B]# route add default 10.0.0.1 Where 10.0.0.1 is the IP of the computer in Building A. Also, ensure that any firewall in A allows traffic from Building B to flow in and out router etc. HTH. Matthew Faircliff On Thu, Dec 04, 2003 at 06:50:08PM -0500, Tom Thompson wrote: Date: Thu, 4 Dec 2003 18:50:08 -0500 From: "Tom Thompson" To: X-Mailer: Subject: IPSEC Tunnel Routing question I would like to route all traffic over a gif/ipsec tunnel I have the following situation Existing internet connection in building A Building to building wireless(between building A and Building B) To secure the traffic going across the wireless I would like to run an ipsec tunnel between freebsd 5.1 based machines sitting at Building A and Building B. I have the tunnels up and running but I am experiencing a problem with routing. Building B does not have an internet connection so it needs to use the internet connection at Building A. To lay it out in more details Router at building A connections to the internet FreeBSD 5.1 machine at Building A connects to router and to wireless bridges FreeBSD 5.1 machine at Building B connects to Wireless bridges and internal network What do I need to do you get traffic to flow from Building B to Building A and out A's internet connection? I have tried setting building B defaultrouter to building A internal address(other side of GIF tunnel) Thanks Tom _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"