You are not logged in.

#1 2020-04-25 07:26:20

shyaminayesh
Member
From: Gampaha, Sri Lanka
Registered: 2015-04-19
Posts: 12
Website

WireGuard netdev interface not getting created

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

Board footer

Powered by FluxBB