Ive got a line in my iptables rules file thats
This is to redirect requests to the transparent proxy, i want to send all requests apart from https and ssh to the proxy so i tried thisCode:-A PREROUTING -p tcp -m tcp -i eth1 --dport 80 -j REDIRECT --to-ports 3128
But it seems like iptables doesnt like the comma there, is that supposed to be set out like that or is it supposed to be different.Code:-A PREROUTING -p tcp -m tcp -i eth1 ! --dport 443,22 -j REDIRECT --to-ports 3128
Jack



LinkBack URL
About LinkBacks


Reply With Quote

