Last active
August 29, 2015 14:05
-
-
Save AyumuKasuga/718e45841c4a081a38fd to your computer and use it in GitHub Desktop.
router iptables
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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