?
Solved

squid help

Posted on 2004-10-01
3
Medium Priority
?
324 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 5

Accepted Solution

by:
paranoidcookie earned 375 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

Limited time offer using promo code EXPERTS25

Designed with a wealth of functionality and convenience, ATEN's new Thunderbolt™ 2 Sharing Switch takes your Thunderbolt setup to the next level. Now through August 31, 2017, Experts Exchange members get 25% off the US7220 on the ATEN USA eShop using promo code EXPERTS25.

Question has a verified solution.

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

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…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

741 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