Question about origin of packet relative to peer

Arti Zirk arti.zirk at
Wed May 27 13:46:42 CEST 2020

On K, 2020-05-27 at 11:01 +0200, nicolas prochazka wrote:
> How can i know that a packet come from peer X ?
You can check which peers allowed ips list covers the received packets
source ip

> Is is possible to mark packet not a level interface (wg0) but at peer
> level ?
Its probably possible to generate iptables rules from peer allowed ips
list that marks packets with different ids

More information about the WireGuard mailing list