Last active
January 31, 2020 10:13
-
-
Save santigimeno/ab33a48da30e523686df59ba1938d0c4 to your computer and use it in GitHub Desktop.
Activate iptables tracing
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
Basically follow https://www.opsist.com/blog/2015/08/11/how-do-i-see-what-iptables-is-doing.html with some modifications: | |
```sh | |
$ sudo modprobe ipt_LOG | |
$ sudo modprobe nf_log_ipv4 | |
$ cat /proc/net/netfilter/nf_log | |
0 NONE () | |
1 NONE () | |
2 nf_log_ipv4 (nf_log_ipv4) | |
3 NONE () | |
4 NONE () | |
5 NONE () | |
6 NONE () | |
7 NONE () | |
8 NONE () | |
9 NONE () | |
10 NONE () | |
11 NONE () | |
12 NONE () | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment