Skip to content

Instantly share code, notes, and snippets.

@AyumuKasuga
Last active August 29, 2015 14:05
Embed
What would you like to do?
router iptables
#iptables -t nat -A PREROUTING -i br0 -p udp --dport 53 -j DNAT --to-destination 192.168.47.100:9053
#iptables -t nat -A PREROUTING -i br0 -p tcp -m tcp -d ! 192.168.47.100 -j DNAT --to-destination 192.168.47.100:9040
#iptables -t nat -A PREROUTING -i br1 -j DROP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment