Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Jan 2001 14:13:24 -0700 (MST)
From:      Nick Rogness <nick@rapidnet.com>
To:        Ian Kallen <spidaman@arachna.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: accessing an outside IP from inside a NAT net
Message-ID:  <Pine.BSF.4.21.0101191409510.98917-100000@rapidnet.com>
In-Reply-To: <Pine.BSF.4.10.10101190014250.50099-100000@along-came-a-spider.arachna.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 19 Jan 2001, Ian Kallen wrote:

> 
> I'd like a hand figuring out how to access resources on the internal side
> of a NAT net from within it without doing something kludgey with DNS.
> i.e. suppose I run natd with a configuration like this:
> 
> # begin /etc/natd.conf
> use_sockets
> same_ports
> port 8668
> deny_incoming no
> log
> redirect_port tcp 10.0.0.128:80 206.169.18.10:80
> # end /etc/natd.conf
> 
> Now if the DNS for the web server www.foo.com running on 10.0.0.128
> directs a browser on the 10.0.0.0 net to 206.169.18.10, it doesn't get
> routed back to 10.0.0.128; it just hangs (I'm acutally not sure what's
> happening there, the connction never succeeds). Is there a nice way to
> handle this case without running a dummy DNS just for the 10.0.0.0
> internal net?


	Run a firewall rule for diverting packets on your inside
	interface for that web server.


Nick Rogness
- Drive defensively.  Buy a tank.




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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0101191409510.98917-100000>