Search squid archive

Problem with HTTP redirection and IPTABLES?

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

 



I have follow this tutorial to redirect HTTP traffic to the squid listening on 8080:

http://wiki.squid-cache.org/ConfigExamples/Intercept/AtSource

My questions are:

1- when I try to do this command:

iptables -t nat -A OUTPUT -p tcp --dport 80 -j DNAT --to-destination SQUIDIP:8080


an error returns: unknown option "--to-destination" (iptables version1.4.7)


2- I'm using squid3.1.10 what option should I chose:

http_port 8080 transparent



OR


http_port 8080 intercept

mark

 		 	   		  





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

  Powered by Linux