From owner-freebsd-questions@FreeBSD.ORG Thu Dec 4 15:50:17 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 B47A416A4CF for ; Thu, 4 Dec 2003 15:50:17 -0800 (PST) Received: from callcds.com (ip-66-179-9-107.name-host.com [66.179.9.107]) by mx1.FreeBSD.org (Postfix) with ESMTP id D63BF43FE9 for ; Thu, 4 Dec 2003 15:50:09 -0800 (PST) (envelope-from tomt@callcds.com) Date: Thu, 4 Dec 2003 18:50:08 -0500 Message-Id: <200312041850.AA216072402@callcds.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii From: "Tom Thompson" To: X-Mailer: Subject: IPSEC Tunnel Routing question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: tomt@callcds.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Dec 2003 23:50:17 -0000 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