Forked from olivierlemoal/tcpdump_inside_ipsec_tunnel.sh
Created
April 22, 2026 21:04
-
-
Save adampielak/6fd64d1f548c21aaa2a76e8e6737f3c1 to your computer and use it in GitHub Desktop.
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 mangle -I PREROUTING -m policy --pol ipsec --dir in -j NFLOG --nflog-group 5 | |
| iptables -t mangle -I POSTROUTING -m policy --pol ipsec --dir out -j NFLOG --nflog-group 5 | |
| tcpdump -s 0 -n -i nflog:5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment