Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Dec 1999 13:28:57 -0800
From:      "James Webster" <james3838@tsi-net.com>
To:        <freebsd-net@freebsd.org>
Subject:   IP Nat problems
Message-ID:  <01b501bf40fa$25766120$41586b83@mins05>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01b501bf40fa$25766120$41586b83>