From owner-freebsd-net@FreeBSD.ORG Sun Jul 11 00:39:58 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 49DFC16A4CE for ; Sun, 11 Jul 2004 00:39:58 +0000 (GMT) Received: from ls401.htnet.hr (ls401.htnet.hr [195.29.150.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3FA8043D41 for ; Sun, 11 Jul 2004 00:39:57 +0000 (GMT) (envelope-from lycanthrope@post.htnet.hr) Received: from ls401.htnet.hr (localhost.localdomain [127.0.0.1]) by ls401.htnet.hr (0.0.0/8.12.10) with ESMTP id i6B0duTH011593 for ; Sun, 11 Jul 2004 02:39:56 +0200 Received: from jkhahhytncost7 (195-29-120-134.adsl.net.htnet.hr [195.29.120.134]) by ls401.htnet.hr (0.0.0/8.12.10) with SMTP id i6B0dt0W011589 for ; Sun, 11 Jul 2004 02:39:55 +0200 Message-ID: <001d01c466df$34e5c4b0$1205a8c0@jkhahhytncost7> From: "lycanthrope" To: Date: Sun, 11 Jul 2004 02:37:12 +0200 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4922.1500 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4939.300 X-Trace: ls401.htnet.hr 1089506395 608 195.29.120.134 (Sun, 11 Jul 2004 02:39:55 +0200) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: NAT over multiple subnets 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: Sun, 11 Jul 2004 00:39:58 -0000 hello I set up NAT+ipfw on FreeBSD computer which resides on 192.168.2.x LAN, = and has an outgoing ADSL connection. any client on 2.x can access = internet by setting this freebsd box as its gateway. there is another = server on the 2.x network which is used as a link to another LAN, 1.x = subnet. those users can not use NAT on the freebsd box,since their = gateway is a 1.x server,connected to 2.x server. how to enable users = from 1.x network to use NAT on freebsd machine,without altering 1.x or = 2.x servers? note that 1.x clients know how to get to the freebsd = machine (quagga-ripd), but can not alter their gateways to the freebsd = machine,since it has to be the 1.x server. so, how to enable 1.x user to use NAT on freebsd router? sorry for a rather long post, and maybe slight confusion,but I believe = you know what I have, and what I would like to do. thank you for all your help! ps: NAT is not mandatory,some other mean of internet sharing is = acceptable,as long as it is stable and fast on BSD