Date: 28 Mar 2003 20:08:40 -0500 From: Adam <blueeskimo@gmx.net> To: freebsd-questions@freebsd.org Subject: Re: About ADSL and Internet Sharing Message-ID: <1048900119.603.48.camel@jake> In-Reply-To: <015f01c2f58c$55f8f200$c800000a@ibac> References: <015f01c2f58c$55f8f200$c800000a@ibac>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 2003-03-28 at 19:44, Alfonso Romero wrote: > I followed all the indications in the handbook to share an ADSL modem with several PCs through a FreeBSD box, but canīt access www with the other PCs. I can ping www.yahoo.com from any PC, but thatīs all I can do. What could be the problem? More than likely your NAT is misconfigured. Here's how I have mine set up (ipnat): map tun0 192.168.56.0/24 -> 0/32 portmap tcp/udp 63000:65535 map tun0 192.168.56.0/24 -> 0/32 Basically what this says is: - All internal traffic will be routed between 63000-65535 - All outgoing connections from internal machines will be temporarily translated. Meaning, if 192.168.56.5:3456 (internal client) connects to 192.168.56.2:63001 (gateway), when the data comes back from the remote server to 63001, NAT remembers that this is actually intended for 192.168.56.5:3456, and routes accordingly .. I hope this makes sense to you .. -- Adam <blueeskimo@gmx.net>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1048900119.603.48.camel>