From owner-freebsd-net Thu Aug 29 9: 1:12 2002 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 9590237B400 for ; Thu, 29 Aug 2002 09:01:10 -0700 (PDT) Received: from rwcrmhc51.attbi.com (rwcrmhc51.attbi.com [204.127.198.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3BF1F43E4A for ; Thu, 29 Aug 2002 09:01:10 -0700 (PDT) (envelope-from julian@elischer.org) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc51.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020829160019.YGTZ14185.rwcrmhc51.attbi.com@InterJet.elischer.org>; Thu, 29 Aug 2002 16:00:19 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id IAA98085; Thu, 29 Aug 2002 08:54:26 -0700 (PDT) Date: Thu, 29 Aug 2002 08:54:24 -0700 (PDT) From: Julian Elischer To: Ivailo Tanusheff Cc: FreeBSD Net Subject: Re: Far routing In-Reply-To: <016101c24f2e$ad299a70$cbf810ac@sof.procreditbank.bg> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org you should use tunnelling so that machines in the 10 net think they have a direct link to the 172 net. there are MANY tunnel methods available from IPSEC to ipip to l2tp to pptp to netgraph etc.etc.etc. On Thu, 29 Aug 2002, Ivailo Tanusheff wrote: > Hi, > > I have the following configuration: > > <10. net>----<10.0.0.1 (FreeBSD Box1) a.b.c.d>----[INTERNET]---- (FreeBSD box2) 172.168.0.1>---<172.168.0 net> > I have proper nating for inbound and outbound traffic. > How may I set the routing on the first FreeBSD box, so packets to > 172.168 net would be forwarded to the second FreeBSD box, which NAT will > mask them to the proper host? > > Thank you in advantage, > Ivailo Tanusheff > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message