Solved

squid help

Posted on 2004-10-01
3
316 Views
Last Modified: 2010-03-18
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
Comment
Question by:zavu
  • 2
3 Comments
 
LVL 5

Accepted Solution

by:
paranoidcookie earned 125 total points
Comment Utility
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
 

Author Comment

by:zavu
Comment Utility
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
 
LVL 5

Expert Comment

by:paranoidcookie
Comment Utility
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

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Suggested Solutions

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now