Here's what I did: iptables -A OUTPUT -t nat -p udp -o lo -d localhost --dport 53 -j REDIRECT --to-ports 5300 Should work for you. Ben