Solved

squid help

Posted on 2004-10-01
3
322 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 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Convert Routes to Linux (CENTOS 7.0) 3 113
for ssh without password, are both ways correct 16 77
Running Guacamole on port 80 5 299
(Open)LDAP V2.44  search proxy to AD (W2012R2) 37 218
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…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

726 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