Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Aug 2000 01:26:01 -0500
From:      Sean Kelly <smkelly@zombie.org>
To:        stable@freebsd.org
Subject:   Broken IPNAT?
Message-ID:  <20000803012601.A1983@edgemaster.zombie.org>

next in thread | raw e-mail | index | archive | help
I'm "using" IPNAT (not natd) to do IP mapping and port rediction, but it doesn't
seem to be working.  This same configuration used to work, but somewhere since
I last tried to use it (somewhere back in 4.0-STABLE), it has quit working:

FreeBSD edgemaster.zombie.org 4.1-STABLE FreeBSD 4.1-STABLE #0: Wed Aug  2 17:23:12 CDT 2000     root@edgemaster.zombie.org:/usr/src/sys/compile/EDGEMASTER  i386

(31) root@edgemaster:~$ ipnat -l
List of active MAP/Redirect filters:
map xl0 192.68.0.0/16  -> 24.7.36.238/32
rdr xl0 24.7.36.238/32 port 51210 -> 192.168.0.2 port 51210 tcp
rdr xl0 24.7.36.238/32 port 51201 -> 192.168.0.2 port 51201 udp
rdr xl0 24.7.36.238/32 port 51200 -> 192.168.0.2 port 51200 udp
rdr xl0 24.7.36.238/32 port 6970 -> 192.168.0.2 port 6970 udp
rdr xl0 24.7.36.238/32 port 6972 -> 192.168.0.2 port 6972 udp
rdr xl0 24.7.36.238/32 port 6974 -> 192.168.0.2 port 6974 udp
(32) root@edgemaster:~$ ifconfig ep0
ep0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 192.168.0.1 netmask 0xffff0000 broadcast 192.168.255.255
        ether 00:10:5a:23:7f:41
        media: 10baseT/UTP
        supported media: 10baseT/UTP
(33) root@edgemaster:~$ ifconfig xl0
xl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 24.7.36.238 netmask 0xffffff00 broadcast 24.7.36.255
        ether 00:10:5a:c6:b4:e4
        media: 10baseT/UTP (10baseT/UTP <half-duplex>)
        supported media: 10baseT/UTP <full-duplex> 10baseT/UTP <half-duplex> 10baseT/UTP

ep0 leads to my laptop which is 192.168.0.2.  xl0 leads to the Internet.
Either I"m stupidly missing something very important, or IPNAT is busted.
The connection between the laptop and desktop works, because IPs are resolving
and I can ping the desktop.  Any and all help on this subect would be much
appreciated.

Thanks in advance

-- 
Sean Kelly <smkelly@zombie.org> or <smkelly@slashnet.org>
   PGP KeyID: 4AC781C7        http://www.sean-kelly.org


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000803012601.A1983>