From owner-freebsd-questions Thu Apr 1 17:29:22 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mta1-rme.xtra.co.nz (mta.xtra.co.nz [203.96.92.1]) by hub.freebsd.org (Postfix) with ESMTP id 5292215383 for ; Thu, 1 Apr 1999 17:29:20 -0800 (PST) (envelope-from junkmale@pop3.xtra.co.nz) Received: from wocker ([210.55.164.76]) by mta1-rme.xtra.co.nz (InterMail v04.00.02.07 201-227-108) with SMTP id <19990402013016.CVAL5454377.mta1-rme@wocker> for ; Fri, 2 Apr 1999 13:30:16 +1200 From: "Dan Langille" Organization: The FreeBSD Diary To: freebsd-questions@FreeBSD.ORG Date: Fri, 2 Apr 1999 13:29:15 +1200 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: routing problems Reply-To: junkmale@xtra.co.nz X-mailer: Pegasus Mail for Win32 (v3.01d) Message-Id: <19990402013016.CVAL5454377.mta1-rme@wocker> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG My ADSL modem (Nokia M10) acts a firewall, dhcp server, and a gateway. That's fine for a Windows setup but not for me. I already have a gateway/firewall/NAT box. I've had to create pinholes (i.e. redirects) on the adsl modem to redirct certain ports into the freebsd box (e.g. 80, 53, etc). However, I cannot browse to my own websites. For example, if I try to browse to freebsddiary.cx, it times out. I suspect this is because the ADSL modem sees the incoming request to 210.55.164.76 with a address inside the firewall. Can I solve this problem with redirects or routing on the FreeBSD box? I tried just doing a "route add 210.55.164.76 127.0.0.1". That didn't fix it and stuff like traceroute just went circular. cheers. Here's my setup: 210.55.164.76 | ADSL modem | 192.168.1.254 | | 192.168.1.1 | FreeBSD Gateway/webserver/firewall/named | 192.168.1.5 | | rest of my LAN -- Dan Langille The FreeBSD Diary http://www.FreeBSDDiary.com/freebsd To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message