From: Pascal Hambourg <pascal.mail@plouf.fr.eu.org>
To: netfilter@vger.kernel.org
Subject: Re: routing VPN users through transparent Squid using iptables
Date: Sun, 22 Aug 2010 18:11:47 +0200 [thread overview]
Message-ID: <4C714C43.2050203@plouf.fr.eu.org> (raw)
In-Reply-To: <4C70FE76.1060204@andrewsmail.co.uk>
Hello,
Jack Andrews a écrit :
>
> Now, I was hoping another simple rule would redirect all http traffic
> through squid:
> [CODE]iptables -t nat -A PREROUTING -i ppp+ -p tcp --dport 80 -j
> REDIRECT --to-port 3128[/CODE]
>
> But this doesn't seem to work (I'm also hoping ppp+ is the correct
> formatting for a wildcard?). Http traffic is never redirected and
> bypasses the proxy.
The rule looks good to me. It should do the job.
No other rules in the PREROUTING chain before ?
next prev parent reply other threads:[~2010-08-22 16:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-22 10:39 routing VPN users through transparent Squid using iptables Jack Andrews
2010-08-22 16:11 ` Pascal Hambourg [this message]
2010-08-23 8:01 ` François Legal
2010-08-23 8:29 ` Pascal Hambourg
2010-08-23 15:28 ` François Legal
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=4C714C43.2050203@plouf.fr.eu.org \
--to=pascal.mail@plouf.fr.eu.org \
--cc=netfilter@vger.kernel.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