You are not logged in.
I tried to create wg0.netdev file with the following content to create wireguard interface from systemd-networkd.
[NetDev]
Name = wg0
Kind = wireguard
[WireGuard]
PrivateKey = <key>
ListenPort = 51820
[WireGuardPeer]
PublicKey = <key>
AllowedIPs = 10.0.0.2/24
Endpoint = <hostname>:51820
PersistentKeepalive = 25
but networkctl not showing interface called wg0 when I restart systemd-networkd service. Can someone point me to the right direction please ?
Offline