From owner-freebsd-stable Wed Aug 2 23:26:10 2000 Delivered-To: freebsd-stable@freebsd.org Received: from area51.slashnet.org (area51.slashnet.org [208.222.214.95]) by hub.freebsd.org (Postfix) with ESMTP id 6105837B70E for ; Wed, 2 Aug 2000 23:26:08 -0700 (PDT) (envelope-from smkelly@zombie.org) Received: from edgemaster.zombie.org (cx497943-c.omhaw1.ne.home.com [24.7.36.238]) by area51.slashnet.org (Postfix) with ESMTP id 1241A14D480 for ; Thu, 3 Aug 2000 02:26:07 -0400 (EDT) Received: by edgemaster.zombie.org (Postfix, from userid 1001) id 7A86C98AD; Thu, 3 Aug 2000 01:26:01 -0500 (CDT) Date: Thu, 3 Aug 2000 01:26:01 -0500 From: Sean Kelly To: stable@freebsd.org Subject: Broken IPNAT? Message-ID: <20000803012601.A1983@edgemaster.zombie.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 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 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 ) supported media: 10baseT/UTP 10baseT/UTP 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 or 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