Network Troublshooting > Linux Servers Support

squid problem

<< < (5/6) > >>

majid_mah:
hi Ricky
did you get my pm ?

I have done the http proxy but i want to know how can i make transparent proxy for it so client do not have to set their browsers for proxy. and they can use other applications like . msn msoutlook etc for them.
I used this code :

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

--- End code ---
but i can not  brows any page without proxy seeting
and how can i use delay pools ?
best regards.

Ricky:
Well i have already answered the question about setting up transparency .. see other threads about squid proxy..

majid_mah:
hi
when i add this code

--- Code: ---route add -net 217.219.1.0 netmask 255.255.255.0 gw X.X.X.X

--- End code ---
to my rc.local file , after that with set proxy and without set proxy in client's browser i can brows page ,also if i set wrong ip with wrong port for client's browser i can brows page too !!!
i think client's browser don't use proxy .
without rout add command in rc.local file my clients can not brows any thing and my proxy work well.
what is my problem .
best regards.

Ricky:
by using route you are simply using NAT so no transparent proxy. here..

What is transparent proxy.. It means clients sends request to the server instead of sending it to proxy derectly but the server redirect them to proxy.. so here we use NAT+proxy = Transparent proxy..

give a look to this thread... http://www.linuxsolved.com/forums/viewtopic.php?t=86

majid_mah:
hi Ricky
If your idia is that my proxy and cache is working well , why client can brows page that i deny in squid.conf. ( in server i can not brows deny site )
how can i use route add and clients can not brows deny page in squid.conf
best regards

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version