Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save adampielak/6fd64d1f548c21aaa2a76e8e6737f3c1 to your computer and use it in GitHub Desktop.

Select an option

Save adampielak/6fd64d1f548c21aaa2a76e8e6737f3c1 to your computer and use it in GitHub Desktop.
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