From owner-freebsd-questions Sun Aug 12 14:29:40 2001 Delivered-To: freebsd-questions@freebsd.org Received: from bmyster.com (dsl-063.sacoriver.net [65.162.190.64]) by hub.freebsd.org (Postfix) with ESMTP id EED3C37B408 for ; Sun, 12 Aug 2001 14:29:35 -0700 (PDT) (envelope-from mrb@bmyster.com) Received: from loqtis (loqtis.bmyster.com [192.168.0.1]) by bmyster.com (8.11.3/8.11.3) with SMTP id f7CLWel01234; Sun, 12 Aug 2001 17:32:43 -0400 (EDT) (envelope-from mrb@bmyster.com) Message-ID: <001e01c12376$19e00770$0100a8c0@loqtis> From: "Brent Bailey" To: "Annihilator" , References: <000d01c12371$2a23a420$0100a8c0@pilar> Subject: Re: IPFilter NAT Port Forwarding Date: Sun, 12 Aug 2001 17:31:05 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 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 does the router machine use divert ??? or natd you can do redirect_port like so: in /etc/rc.conf natd_flags="-redirect_port tcp 192.168.100.1:80 80 this will redirect any request on port 80 of the router machine to 192.168.100.1:80 hope this helps Brent ----- Original Message ----- From: "Annihilator" To: Sent: Sunday, August 12, 2001 4:55 PM Subject: IPFilter NAT Port Forwarding > I need to forward all inbound traffic for a certain port on one > interface of the router to a NAT'd machine on another. How can I > accomplish this using IPfilter, which I'm using for NAT on the router > machine? What must I put in my ipnat.rules? > This doesn't seem to work: > rdr tun0 0/32 port 122 -> 192.168.0.14 port 122 tcp > > Please cc to my e-mail address. > Annihilator > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message