From owner-freebsd-questions Tue Jul 25 17:52:56 2000 Delivered-To: freebsd-questions@freebsd.org Received: from hotmail.com (f85.law9.hotmail.com [64.4.9.85]) by hub.freebsd.org (Postfix) with SMTP id F410A37BBF8 for ; Tue, 25 Jul 2000 17:52:53 -0700 (PDT) (envelope-from bruce_pea@hotmail.com) Received: (qmail 80536 invoked by uid 0); 26 Jul 2000 00:52:53 -0000 Message-ID: <20000726005253.80535.qmail@hotmail.com> Received: from 209.16.216.20 by www.hotmail.com with HTTP; Tue, 25 Jul 2000 17:52:53 PDT X-Originating-IP: [209.16.216.20] From: "Bruce Pea" To: willem@brwn.org Cc: freebsd-questions@freebsd.org Subject: Re: ipnat still not behaving Date: Tue, 25 Jul 2000 19:52:53 CDT Mime-Version: 1.0 Content-Type: text/plain; format=flowed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG You were right about the ip number. Just to try and narrow things down a bit more I made the following ipnat rule: map fxp1 192.168.255.11/32 -> 209.16.216.31/32 portmap tcp/udp 40000:60000 map fxp1 192.168.255.11/32 -> 209.16.216.31/32 where 192.168.255.11 is my workstation ip and 209.16.216.31 is fxp1, my external interface, ip. I restarted ipnat, went to my workstation and was able to ping the world. However my web browser would not work meaning it kept telling me it couldn't find any of the web pages I was trying to hit even after I put the dns servers in the workstation network configuration. After all this I went back and changed the ipnat rules to this: map fxp1 192.168.255.0/24 -> 209.16.216.31/32 portmap tcp/udp 40000:60000 map fxp1 192.168.255.0/24 -> 209.16.216.31/32 I kept the same static ip (192.168.255.11) on the workstation. I restarted ipnat, went to the workstation and was able to ping the world. Next I set my workstation up to grab a ip number from the dhcp server. Restarted my workstation, logged on to the network, pinged 209.144.48.18 and got: Destination host unreachable. I then switched my workstation ip address back to 192.168.255.11 and could ping again. Next I tried to ftp to ftp.freebsd.org and was told it couldn't be found. I tried to ftp to ftp.samba.org and again was told it couldn't be found. Now this is strange... I can ping our ISP's dns servers from my workstation (209.14.48.18, 209.144.48.21). I have them both listed in the server's resolv.conf file. I can ftp/telnet out to anywhere on the server without any problems. It seems like I'm overlooking one small thing and my mind is so bent I can't think of what it could be. Any ideas?? Thanks - Bruce ________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message