I've got the following iptables rule iptables -t nat -A PREROUTING -p tcp --destination-port 80 -j REDIRECT --to-port 8008 [/CODE] and I need it to ignore requests where the destination is either localhost or the IP of the local machine. I know it can be done but to save me digging out my iptables references can anyone give me the answer?