Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Dec 1999 14:25:00 -0800
From:      "James Webster" <james3838@tsi-net.com>
To:        <freebsd-net@freebsd.org>
Subject:   Re: IP Nat problems
Message-ID:  <01cf01bf4101$fa387540$41586b83@mins05>

next in thread | raw e-mail | index | archive | help
Did some more digging and found a problem, but don't know the solution -
/sbin/ipfw add divert natd all from any to any via ex0
0000 divert 868 ip from any to any via ex0
ip_fw_ctl: invalid command
ipfw: setsockopt(IP_FW_ADD): Invalid argument

----- Original Message -----
From: "James Webster" <james3838@tsi-net.com>
To: <freebsd-net@freebsd.org>
Sent: Tuesday, December 07, 1999 1:28 PM
Subject: IP Nat problems


> 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?01cf01bf4101$fa387540$41586b83>