edit : /etc/systemd/system/sshd.service add and change : After=network.target wg-quick@wg0.service Requires=sys-devices-virtual-net-wg0.device service : systemctl daemon-reload systemctl restart sshd