Do not specify the ethernet settings it is not needed
iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-ports 3128
----- 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
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 18.104.22.168 - eth1
My local lan 22.214.171.124 - 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!
To unsubscribe, email ilugc-request@xxxxxxxxxxxxx with
"unsubscribe <password> address"
in the subject or body of the message.