From owner-freebsd-questions Sat Apr 6 14:40:47 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mail.nerdcentral.net (kokofarmen.net [217.8.158.164]) by hub.freebsd.org (Postfix) with SMTP id D8C9937B404 for ; Sat, 6 Apr 2002 14:40:37 -0800 (PST) Received: (qmail 85732 invoked from network); 6 Apr 2002 20:40:35 -0000 Received: from dumbo.koko.lan (HELO dumbo.nerdcentral.net) (172.16.0.4) by 0 with SMTP; 6 Apr 2002 20:40:35 -0000 Received: from trond by dumbo.nerdcentral.net with local (Exim 3.34 #1 (Debian)) id 16tyrH-0001FO-00 for ; Sun, 07 Apr 2002 00:40:31 +0200 Date: Sun, 7 Apr 2002 00:40:31 +0200 From: Trond Arve Nordheim To: freebsd-questions@freebsd.org Subject: Port forwarding problem Message-ID: <20020406224031.GB4407@nordheim.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.25i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi. I have a FreeBSD router with dc1 as the external interface connected to the internet, and dc0 connected to my lan. I've put up some port forwarding from dc1 port 80 to 172.16.0.2:80, and external users can now access the webserver on my local network. However, DNS pointers are pointed to my external address, and I want other machines on the same local network as the webserver to be able to access the webserver via the routers external IP address. I've experimented with some /etc/ipnat.conf-entries, but I can't seem to figure it out. Anyone have any ideas ? To make it simple; How can I make machines behind the router access the webserver via the external IP of the router itself? I'd rather not put up two sets of DNS pointers, one for external access and one for local access. Been reading HOWTO's and googling all day, and I haven't found -anything- to help me do this. :\ -- Trond Arve Nordheim - "This message is ROT13-encrypted twice for extra security." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message