You are not logged in.
hi there, i am trying to enable wireguard at boot, it is working properly already when i do `wg-quick up wg0` but the wiki is making too many assumptions in section 2.4.1 of this page: https://wiki.archlinux.org/title/WireGuard
what does this mean?
To start the tunnel at boot, enable the unit.
i clicked the word enable but am still confused
[root@gateway-wind sysctl.d]# systemctl enable wg0.service
Failed to enable unit: Unit file wg0.service does not exist.
[root@gateway-wind sysctl.d]# systemctl enable wireguard.service
Failed to enable unit: Unit file wireguard.service does not exist.
[root@gateway-wind sysctl.d]# systemctl enable wg.service
Failed to enable unit: Unit file wg.service does not exist.
[root@gateway-wind sysctl.d]# systemctl enable wg-quick.service
Failed to enable unit: Unit file wg-quick.service does not exist.
[root@gateway-wind sysctl.d]#
this arch documentation is too sparse and makes too many assumptions, i am not able to figure it out based on whats provided, thanks very much
Last edited by genji (2023-08-13 17:50:51)
Offline
if you have an interfacename.conf you enable the wg-quick@interfacename.service - replace interfacename with your config file name
Offline
if you have an interfacename.conf you enable the wg-quick@interfacename.service - replace interfacename with your config file name
Hi there, indeed, my configuration is wg0.conf, so I am to do
systemctl enable wg-quick@wg0.service
?
thanks very much, it accepted this command
Last edited by genji (2023-08-13 17:50:37)
Offline