Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Jim Laurino <nfcan.x.jimlaur@dfgh.net>
To: netfilter@lists.netfilter.org
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	[thread overview]
Message-ID: <20050302010723.GI14303@salty> (raw)
In-Reply-To: <BAY17-F386CBFC183CD40C68DFE19DC590@phx.gbl> (from +nfcan+jimlaur+f8d0e213b6.securadd#hotmail.com@spamgourmet.com on Tue, Mar 01, 2005 at 17:03:12 -0500)

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.


  reply	other threads:[~2005-03-02  1:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-01 22:03 attempting to transparently proxy with this script to no avail joe z
2005-03-02  1:07 ` Jim Laurino [this message]
2005-03-02  5:33 ` Jason Opperisano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050302010723.GI14303@salty \
    --to=nfcan.x.jimlaur@dfgh.net \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox