From owner-freebsd-questions Fri Dec 1 1: 7:46 2000 Delivered-To: freebsd-questions@freebsd.org Received: from rubicon.fernonorden.com (unknown [195.139.149.227]) by hub.freebsd.org (Postfix) with ESMTP id 015E837B400 for ; Fri, 1 Dec 2000 01:07:44 -0800 (PST) Received: by fernonorden.com with Internet Mail Service (5.5.2650.21) id ; Fri, 1 Dec 2000 10:04:24 +0100 Message-ID: <25879E6A7E74D411B9370050043B7F3E1E76@fernonorden.com> From: Per Tore Larsen To: "'freebsd-questions@freebsd.org'" Subject: FW: How to forward ports to internal machines on NAT Date: Fri, 1 Dec 2000 10:04:23 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > >I'd like to know how to forward ports across a NAT firewall. > >i.e. my.external.ip.address port 80 -> 10.0.0.2 port 80 > >I am using FreeBSD 4.2-RELEASE with ipfw and NAT. > > Try this in ipnat conf file: > > rdr xxx.xxx.xxx.xxx/xx port 80 -> 10.0.0.2 port 80 > tcp/udp > > >I have seen this done before on a Linux machine (i believe)... > >Is it possible with FreeBSD? And if so, what are the commands? > > Look above and see the light. > > >Thanks! > >-- > >Donald Burr Resistance is Futile | FreeBSD: The > >WWW: http://www.borg-cube.com/ ICQ: UIN#16997506 | Power to > >Address: P.O. Box 91212, Santa Barbara, CA 93190-1212 | Serve! http:// > >Phone: (805) 957-9666 FAX: (800) 492-5954 | www.freebsd.org > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message