Search squid archive

Re: Problem with HTTP redirection and IPTABLES?

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

 



you are doing nat...
try to see it from iptables point of view:
"iptables -L"
.. it will not show PREROUTING.
You need to use the table "nat" and not the default "filter"

iptables -t nat -A PREROUTING -i eth0 -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 3127

Good Luck

On 07/05/2014 10:40 AM, Mark jensen wrote:
for:
iptables -A PREROUTING -i eth0 -p tcp -m tcp --dport 80 -j REDIRECT
--to-ports 3127
iptables return this error:

iptables: No chain/target/match by thr name.

  		 	   		






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

  Powered by Linux