Running PTP (Precision Time Protocol) over Wireguard

Antonio Teixeira antonio.teixeira at bry.com.br
Tue Dec 14 17:15:17 UTC 2021


Hey,

Has anyone ever got PTP (precision time protocol) working with
hardware timestamping over a wireguard VPN?

I need to start linuxptp (http://linuxptp.sourceforge.net/) listening
on a Wireguard virtual network interface, however, it seems that
linuxptp relies on the SO_TIMESTAMPING kernel socket option and the
wireguard virtual interface doesn't support that. Moreover, I need
this working with hardware timestamping, and right now I can't even
get it working with software timestamping.

Would it even be possible to get this working? Anyone got any tips?
Can I somehow make the Wireguard virtual interface mirror the physical
NIC's capabilities?


More information about the WireGuard mailing list