From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jim Laurino Subject: Re: attempting to transparently proxy with this script to no avail (nfcan: addressed to exclusive sender for this address) Date: Tue, 1 Mar 2005 20:07:23 -0500 Message-ID: <20050302010723.GI14303@salty> References: Reply-To: nfcan.x.jimlaur@dfgh.net Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline In-Reply-To: (from +nfcan+jimlaur+f8d0e213b6.securadd#hotmail.com@spamgourmet.com on Tue, Mar 01, 2005 at 17:03:12 -0500) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-bounces@lists.netfilter.org Errors-To: netfilter-bounces@lists.netfilter.org Content-Type: text/plain; format="Flowed"; delsp="Yes"; charset="us-ascii" To: netfilter@lists.netfilter.org On 2005.03.01 17:03, joe z - securadd@hotmail.com wrote: > this script runs everything fine just the redirect doesn't. the proxy works > fine when browser pointed at it. > ... > iptables -t nat -A PREROUTING -m tcp -p tcp --dport 80 -j REDIRECT --to-port > 8080 Try this instead: iptables -t nat -A PREROUTING -m tcp -p tcp --dport 80 -j DNAT --to-port 8080 -- Jim Laurino nfcan.x.jimlaur@dfgh.net Please reply to the list. Only mail from the listserver reaches this address.