Search squid archive

Re: squid2.6STABLE13 and transparent proxy

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





melvin obiri escreveu:
Hi, I need help with transparent proxy on fedora 6 or fedora.
I have set the http_port to transparent mode as below
http_port 192.168.0.220:3128 transparent

and made a fowarding rule on iptables but am still not able to do
transparent proxy

iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT
--to-port 3128


if i'm not sure, REDIRECT redirects to 127.0.0.1, and your squid is listening on 192.168.0.220 only.

   try removing the http_port ip, leaving just

http_port 3128 transparent

   or adjust your iptables rule:

iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j DNAT --to 192.168.0.220:3128

--


	Atenciosamente / Sincerily,
	Leonardo Rodrigues
	Solutti Tecnologia
	http://www.solutti.com.br

	Minha armadilha de SPAM, NÃO mandem email
	gertrudes@xxxxxxxxxxxxxx
	My SPAMTRAP, do not email it






[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux