Bill Moran <[EMAIL PROTECTED]> writes:

> Matthew Ryan wrote:
> > The /etc/rc.conf entry:
> > natd_flags="-redirect_port tcp 192.168.1.241:xxxx xxxx"
> > was fine since:
> > natd_interface="ep0"
> > specified the interface.
> > All in all I just should have posted the whole of my /etc/rc.conf in
> > the first place.
> > Sorry about that.
> > The real irony is that it was working all along!!
> > I just didn't know because i was trying to access the service on the
> > external IP address of my router from an internal IP address.
> > When I tried to access it via. my other connection (in effect from
> > outside) everything worked fine.
> > I'm sure that there is some reasonable explanation for this to do
> > with the way that NAT operates  but I can't figure it out.
> 
> Fact is, natd _only_ redirects from the interface is was told to bind to.
> I'm not exactly sure why the packets don't route out and back in when you
> try it from inside, but they don't ;( so you always need to test it from
> the external interface.

The reason they don't "route out" is that they are addressed to the
router, so it doesn't bother to forward them outside.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to