All of lore.kernel.org
 help / color / mirror / Atom feed
From: Askar <askarali@gmail.com>
To: netfilter@lists.netfilter.org
Subject: Re: by passing transparent proxy
Date: Wed, 7 Sep 2005 00:37:48 +0500	[thread overview]
Message-ID: <a0f69e5050906123774f20f8b@mail.gmail.com> (raw)
In-Reply-To: <200509061133.45091.rob0@gmx.co.uk>

On 9/6/05, /dev/rob0 <rob0@gmx.co.uk> wrote:
> 
> On Tuesday 2005-September-06 06:11, Askar wrote:
> > All teh port 80 traffic redirected to squid 3128 by ...
> >
> > $iptables -t nat -A PREROUTING -i eth0 -p tcp -s 0/0 --dport 80 -j
> > REDIRECT --to-port 3128
> >
> > Now I want to a client -s xx.xx.xx.xx access a site -d xx.xx.xx.xx
> > then his traffic by pass the squid. actaully if the client xx.xx goes
> 
> Precede the proxy rule with a -j RETURN rule for your -s client.IP and
> -d server.IP. See the RETURN target in "man iptables".
> --
> mail to this address is discarded unless "/dev/rob0"
> or "not-spam" is in Subject: header
> 
> 
bingo :)

thanks mate

-- 
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)

  reply	other threads:[~2005-09-06 19:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-06 11:11 by passing transparent proxy Askar
2005-09-06 16:33 ` /dev/rob0
2005-09-06 19:37   ` Askar [this message]
     [not found] <20050906120443.25918.qmail@webmail52.rediffmail.com>
2005-09-06 12:32 ` Askar

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=a0f69e5050906123774f20f8b@mail.gmail.com \
    --to=askarali@gmail.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.