Solved

squid help

Posted on 2004-10-01
3
317 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
ID: 12217444
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
ID: 12220619
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
ID: 12220721
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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

932 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

11 Experts available now in Live!

Get 1:1 Help Now