From owner-freebsd-net Tue Dec 7 13:31:11 1999 Delivered-To: freebsd-net@freebsd.org Received: from smtp.tsi-net.com (smtp.tsi-net.com [207.202.145.135]) by hub.freebsd.org (Postfix) with ESMTP id BF59814E73 for ; Tue, 7 Dec 1999 13:31:09 -0800 (PST) (envelope-from james3838@tsi-net.com) Received: from mins05 ([131.107.88.65]) by smtp.tsi-net.com (8.9.1/8.9.1) with SMTP id NAA05059 for ; Tue, 7 Dec 1999 13:31:08 -0800 (PST) Message-ID: <01b501bf40fa$25766120$41586b83@mins05> From: "James Webster" To: Subject: IP Nat problems Date: Tue, 7 Dec 1999 13:28:57 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.4200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.4200 Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I just realized I was asking this question on the wrong mailing list. I'm having problems getting NAT working for a slowlink test I'm setting up. I'm more familiar with NAT on netBSD, but for some reasone the driver for my nic wouldn't work in netBSD. I currently have firewall, gateway and nat enabled. This is my scenario: 172.30.224.9 (ex0) is the address that machines will connect to on port 80. All of those connections need to be redirected to 10.0.0.2 port 80 through 10.0.0.1 (ppp0). IPnat would be: rdr ex0 172.30.224.9/32 port 80 -> 10.0.0.2 port 80 natd I have: redirect_port tcp 10.0.0.2:80 172.30.224.9:80 I also added: redirect_port tcp 10.0.0.2:23 172.30.224.9:23 and tried to telnet to the box through 172.30.224.9. The local telnetd server answered indicating that Nat is not redirecting the ports. I may be missing some configuration settings though. Any help troubleshooting would be appreciated. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message