From: Emilio Casbas <ecasbas@unav.es>
To: david@suarapembaruan.co.id
Cc: netfilter@lists.netfilter.org
Subject: Re: Transparant proxy
Date: Fri, 04 Jun 2004 09:09:11 +0200 [thread overview]
Message-ID: <40C02017.5030304@unav.es> (raw)
In-Reply-To: <1157.172.16.131.133.1086337464.squirrel@mail.suarapembaruan.co.id>
david@suarapembaruan.co.id wrote:
>Dear all,
>can anybody tell me how to set rules in iptables if i want to use
>transparant proxy.
>
>Thank's
>David Kandou
>
>
>
>
>
>
iptables -t nat -A prerouting -i eth0 -p tcp --dport 80 -j REDIRECT
--to-port 3128
This command make your kernel intercept HTTP connections and send them
to proxy port.
Emilio C.
next prev parent reply other threads:[~2004-06-04 7:09 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-03 15:06 security question Martín Chikilian
2004-06-03 15:12 ` Antony Stone
2004-06-04 8:24 ` Transparant proxy david
2004-06-04 7:09 ` Emilio Casbas [this message]
2004-06-04 16:25 ` david
2004-06-08 23:59 ` Djalma Fadel Junior
2004-06-09 7:55 ` Emilio Casbas
2004-06-04 13:14 ` Sheldon Hearn
2004-06-07 14:16 ` Ming Fu
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=40C02017.5030304@unav.es \
--to=ecasbas@unav.es \
--cc=david@suarapembaruan.co.id \
--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