From owner-freebsd-questions Sun Aug 12 13:55:58 2001 Delivered-To: freebsd-questions@freebsd.org Received: from ls212.hinet.hr (ls212.hinet.hr [195.29.150.91]) by hub.freebsd.org (Postfix) with ESMTP id 9472437B407 for ; Sun, 12 Aug 2001 13:55:53 -0700 (PDT) (envelope-from annihilator.c@usa.net) Received: from ls401.hinet.hr (IDENT:root@ls401.hinet.hr [195.29.150.2]) by ls212.hinet.hr (0.0.0/8.11.3) with ESMTP id f7CKtme04213 for ; Sun, 12 Aug 2001 22:55:48 +0200 Received: from tango (ad15-m200.net.hinet.hr [195.29.50.200]) by ls401.hinet.hr (0.0.0/8.11.3) with SMTP id f7CKtm014731 for ; Sun, 12 Aug 2001 22:55:48 +0200 Message-ID: <000d01c12371$2a23a420$0100a8c0@pilar> From: "Annihilator" To: Subject: IPFilter NAT Port Forwarding Date: Sun, 12 Aug 2001 22:55:37 +0200 Organization: SawMan's Consortium 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.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 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 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