Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Nov 2006 02:16:25 -0300
From:      "Nilton Volpato" <>
Subject:   Re: port redirection with natd and ipfw
Message-ID:  <>
In-Reply-To: <>
References:  <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
[Fratiman Vladut]
> This is because u try to access an ip that have same ip like your
> gateway, but from internal lan, so packets are sends to gateway but
> cannot be redirected back to the http server according with redirect
> rules.
> To resolve this situation, configure a simple dns server on your
> gateway, and make a zone with your domain pointed to the internal ip.
> Then configure the computers clients to ask your dns server. This is
> easily done via dhcp.
> Your dns server need to be configured to forward request's for unknow
> domains to the autoritarive public dns servers.
> --
> Best regards,
>  Fratiman

[Russell Wood]
> I had a similar setup once and used Split DNS with BIND. So, if you
> requested on then you'd get the internal IP,
> otherwise you got the external IP.
> Regards,
> Russell Wood

Thanks guys,

But Split DNS does not work in my case. Because I have different
services on different machines, and the dns will map one name (and all
ports associated to it) to one machine.

Is there any solution that will work without using split dns?

-- Nilton

Want to link to this message? Use this URL: <>