Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jul 2000 19:52:53 CDT
From:      "Bruce Pea" <bruce_pea@hotmail.com>
To:        willem@brwn.org
Cc:        freebsd-questions@freebsd.org
Subject:   Re: ipnat still not behaving
Message-ID:  <20000726005253.80535.qmail@hotmail.com>

next in thread | raw e-mail | index | archive | help


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




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