Skip to content

Instantly share code, notes, and snippets.

Last active August 29, 2015 14:05
What would you like to do?
router iptables
#iptables -t nat -A PREROUTING -i br0 -p udp --dport 53 -j DNAT --to-destination
#iptables -t nat -A PREROUTING -i br0 -p tcp -m tcp -d ! -j DNAT --to-destination
#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