Jump to content
Not connected, Your IP: 3.145.109.144
Sign in to follow this  
dragen

ANSWERED Airvpn+WG Ubuntu at startup

Recommended Posts

How do I make Wireguard start the AirVPN generated .conf at startup?

I followed this, but it doesn't enable it to start at startup.
(Using console only)

Share this post


Link to post
8 hours ago, dragen said:

How do I make Wireguard start the AirVPN generated .conf at startup?

I followed this, but it doesn't enable it to start at startup.
(Using console only)


I'd suggest you to move the wireguard configuration file to /etc/wireguard 

then make that folder accessible for the root user only
 
sudo chown root:root -R /etc/wireguard && sudo chmod 600 -R /etc/wireguard


then enable the systemd service to launch it at startup with
systemctl enable wg-quick@here_goes_the_name_of_your_config_file_without_the_.config_extension

Share this post


Link to post
Guest
This topic is now closed to further replies.
Sign in to follow this  

×
×
  • Create New...