Created
May 9, 2011 22:36
-
-
Save eegrok/963570 to your computer and use it in GitHub Desktop.
debug ip issues -- ipfilter / packet sniffing / etc...
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
#command-line capture packets for viewing in wireshark | |
tcpdump -i <interface> -s 65535 -w <some-file> | |
# see how many prerouting packets received / etc... | |
iptables -t nat --list --verbose | |
# can compare this with filter packets | |
iptables -t filter --list --verbose | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment