From mboxrd@z Thu Jan 1 00:00:00 1970 From: Grant Taylor Subject: Re: Redirecting Outbound Port to Internal Server Date: Wed, 09 Jun 2010 19:17:56 -0500 Message-ID: <4C102F34.5050205@riverviewtech.net> References: <4C10067C.8000302@riverviewtech.net> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: netfilter-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: Mail List - Netfilter Curby wrote: > His later message suggests that the target machine is a web server > and not a proxy. In that case, I wonder if tweaking DNS to have the > relevant requests point directly to the local machine would be > easier. I don't know if it would be easier or not, but it probably would be better in the long run. If there is a local DNS server, there are a number of options to do this. > OTOH, he said that all outbound traffic on port 8080 should be sent > to the internal machine, which is odd if it's a simple web server > hosting a site or two. Think a small business that is hosting their own web site on an internal server. Public DNS will likely reflect the external IP and traffic would be port forwarded in to said server. What the OP is wanting to do is commonly referred to at NAT loop back / wrap around. Grant. . . .