Comment on Anyone using WireGuard through plain systemd-networkd?
Chais@sh.itjust.works 6 months agoDo you notice anything wrong with my config? github.com/systemd/systemd/issues/30495
Comment on Anyone using WireGuard through plain systemd-networkd?
Chais@sh.itjust.works 6 months agoDo you notice anything wrong with my config? github.com/systemd/systemd/issues/30495
2xsaiko@discuss.tchncs.de 6 months ago
Seems fine to me except for all the firewall and special routing stuff, I’m not familiar with that. Does the wg command show received or only sent data? For the record, this is my config:
spoiler
ini # /etc/systemd/network/mullvad.netdev [NetDev] Description=Mullvad Kind=wireguard Name=mullvad [WireGuard] PrivateKeyFile=/var/keys/mullvad/pk [WireGuardPeer] AllowedIPs=::/0 AllowedIPs=0.0.0.0/0 Endpoint=146.70.126.194:51820 PublicKey=ApOUMLFcpTpj/sDAMub0SvASFdsSWtsy+vvw/nWvEmY= # /etc/systemd/network/mullvad.network [Match] Name=mullvad [Network] Address=10.64.130.96/32 Address=fc00:bbbb:bbbb:bb01::1:825f/128 [Route] Destination=::/0 Metric=16384 [Route] Destination=0.0.0.0/0 Metric=16384