Created
May 10, 2012 07:13
-
-
Save berg/2651626 to your computer and use it in GitHub Desktop.
iptables rules
This file contains 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 rules created | |
# flush forward rule | |
iptables -t mangle -F FORWARD | |
# match/count synthetic traffic | |
iptables -t mangle -A FORWARD -d 192.168.1.3 | |
# match/count xbox traffic | |
iptables -t mangle -A FORWARD -d 192.168.1.140 | |
# match/count all traffic | |
iptables -t mangle -A FORWARD | |
# zero all counters | |
iptables -t mangle -Z FORWARD |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment