
IPTABLESSimilar to tcpdump, the LOG target of iptables allows you to log each packet that’s sent to and from WireGuard. Most Linux systems use iptables, or its newer sibling nftables, to define their firewall.If you’re using iptables, you can run the following commands to add iptables rules that will log the header info of IPv4 packets...