Skip to contentSkip to conversation

by passing transparent proxy

DISCUSSION Askar 1 participant 1 message Sep 6, 2005 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Askar

author
#1 lore raw
Quoted 33 lines · bimal pandit

Dear Askar,

Quoted 3 lines · On Tue, 06 Sep 2005 Askar wrote :

hi list

i have a very simple question, we have a transparent proxy "squid" for

our

Quoted 1 line

users, this machine is also the default gateway for the user. which mean

all

Quoted 1 line

the traffic of the client do pass from this machine whether its port 80

or

Quoted 4 lines

not.
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

Quoted 3 lines

--to-port 3128

Now I want to a client -s xx.xx.xx.xx access a site -d xx.xx.xx.xx then

his

Quoted 1 line

traffic by pass the squid. actaully if the client xx.xx goes through

squid

Quoted 1 line

while accessing that site then the far end web server gives him

permission

Quoted 7 lines

denied.
However on web server I could only allow the static ip of the client xx.xxbut not the squid server. its a secure web server.

any help in this regards wil be greatly appreciated

Quoted 9 lines
Quoted 5 lines

regards

askar

I dont think that accessing https request is an issue, I am quite able enough to get it as 443 is under safe port in my squid.conf.

Sorry my bad, from secure means that web server running on port 80 but only

Quoted 2 lines

accessible from certain IPs (restricted by htaccess)

remember all connections will go through 3128 and will make high port

Quoted 10 lines

connections for the transactions.

hope this will help a bit.

regards,

Bimal

<http://adworks.rediff.com/cgi-bin/AdWorks/sigclick.cgi/www.rediff.com/signature-home.htm/1507191490@Middle5?PARTNER=3>

Signature · 2 lines
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)