shorewall and IPSec traffic monitoring

Vieri Di Paola <[email protected]>
Newsgroups gmane.comp.security.shorewall
Message-ID <CABLYT9jW3ah5E=nw=DuwBPJYXWnr6q60fBo=J=uZt5hqPsqwgw@mail.gmail.com>
Hi,

What's the best way to translate these iptables rules to Shorewall?

iptables -I INPUT -m addrtype --dst-type LOCAL -m policy --pol ipsec
--dir in -j NFLOG --nflog-group 5
iptables -I OUTPUT -m policy --pol ipsec --dir out -j NFLOG --nflog-group 5

The idea is to be able to monitor IPSec traffic with tools such as
tcpdump -i nflog:5.

Ref. https://docs.strongswan.org/strongswan-docs/5.9/install/trafficDumps.html

Regards,

Vieri
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.