From owner-freebsd-isp Fri May 3 16:57:54 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mail.vividnet.com (mail.vividnet.com [206.149.144.3]) by hub.freebsd.org (Postfix) with ESMTP id 6597537B41B for ; Fri, 3 May 2002 16:57:51 -0700 (PDT) Received: from vividnet.com (guardian.vividnet.com [206.149.144.166]) by mail.vividnet.com (8.8.8/8.8.8) with ESMTP id QAA04681 for ; Fri, 3 May 2002 16:57:51 -0700 (PDT) (envelope-from robinche@vividnet.com) Message-ID: <3CD322AF.45ABE70E@vividnet.com> Date: Fri, 03 May 2002 16:52:15 -0700 From: Robin Chen X-Mailer: Mozilla 4.78 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-isp@FreeBSD.ORG Subject: NAT using real IP References: <20020503030052.15249.qmail@server-7.tower-9.messagelabs.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hello, I have a frame-relay connection and a DSL connection to the internet, and they both give me static ip. Generally I want to use frame-relay for all traffic because I have several ip addresses to use, but I want to utilize the DSL for all internal browsing traffic. Can I utilize natd for this? I've already have Squid set up in transparent proxy mode, but I want to try getting a straight pipe. Currently I have a FreeBSD router as the main frame-relay gateway. I've also installed a nat server connected to the DSL. The nat server has 2 interfaces, fxp0 using ip address from frame-relay and rl0 using ip address from DSL. The default route for nat server is using DSL's. On the main gateway, I'm using: ipfw add fwd nat.server.machine tcp from frame.relay.ip to any 80 I've set up the nat server running natd -interface rl0 with following: ipfw add divert natd tcp from any to any 80 via rl0 The result of the verbose output is: Out [TCP] [TCP] frame.relay.ip:4094 -> outside.web.site:80 aliased to [TCP] dsl.provider.ip:4094 -> outside.web.site:80 but the frame-relay client cannot pull up any websites. Does anyone know if this is doable? Thanks, Robin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message