[Ilugc] Transparent proxy

  • From: zenmurugan@xxxxxxxxxxx (Zen)
  • Date: Thu Jun 24 09:30:48 2004

Hello Babu,

Do not specify the ethernet settings it is not needed

simply,

iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-ports 3128

will do.
Regards,
Senthil  Murugan.


----- Original Message -----
From: "babu jayapaul" <babu_jayapaul@xxxxxxxxx>
To: "lugc questions" <ilugc@xxxxxxxxxxxxxxxxxx>
Sent: Thursday, June 24, 2004 9:15 AM
Subject: [Ilugc] Transparent proxy


hai friends

I have configured squid with 10gb cache and its is
going well. but i want to confiure a 'Transparent
proxy' so that i don't want to configure all my
clients to look for a proxy settings . I followed some
guidelines from net and i configured transparent proxy
according to that
"Guidlines from Internet Site"

To set up the rules, you will need to know two
things, the interface that the to-be-proxied
requests are coming in on (I'll use eth0 as an
example) and the port squid is running on (I'll use
the default of 3128 as an example).

Now, the magic words for transparent proxying:

iptables -t nat -A PREROUTING -i eth0 -p tcp --dport
80 -j REDIRECT --to-port 3128

 But it is not working and my doubt is

(the interface that the to-be-proxied requests are
coming in on (I'll use eth0 as an example) and the
port squid is running on (I'll use the default of 3128
as an example).

My internet 204.129.222.89 - eth1

My local lan 197.168.0.1 - eth0

which ethernet card should I use in the place of <-i
eht0> in the above iptables command. i used eth0

please help me



__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail
_______________________________________________
To unsubscribe, email ilugc-request@xxxxxxxxxxxxx with
"unsubscribe <password> address"
in the subject or body of the message.
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc


Other related posts: