Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 330
  • Last Modified:

squid help

hello
i have a pppoe connection on eth1
i didn't assigned an ip on it
and i have eth0 with ip 10.2.2.1
i have configured squid like this way
http_port 10.2.2.1:3128
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
and i've used a transparent proxy but didn't work with this command
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 3128
but nothing worked only if i used an proxy in internet explorer
how to make it work fine and i use suse 9.0
please i need this help and thank you
0
zavu
Asked:
zavu
  • 2
1 Solution
 
paranoidcookieCommented:
Your settings look fine for transparent proxying perhaps their are access conrol restrictions preventing you getting on the cache.
Firstly take out the iptables rules and set the cache up on your IE to test your client comps can use the cache. If that works try altering the iptables rule sligthly

Also I would change http_port to http_port 3128 to test it restricting the interface squid listens on is causing a problem

iptables -t nat -A PREROUTING -i eth0 -d 0/0 -p tcp --dport 80 -j REDIRECT --to-port 3128
0
 
zavuAuthor Commented:
when i use port in ie its work fine but i use ie without proxy not workin
so wut i should to do i'll try this this iptable route
i hope this work
am only making this to make yahoo open the voice button
0
 
paranoidcookieCommented:
Zavu did you try the other things I suggested.

Also when you try witht the iptables command on you must uncheck autodetect proxies and take out all information regarding proxies in IE
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now