I’ve a Raspberry Pi4 running wireguard, it connects to an homemade server and would probably add a vpn service for torrenting.
Is there a tool that allows me to manage VPNs? I mean something like switching VPN on/off or loading a config from a VPN provider? I’m running headless so looking for something with a web interface.
Yes I was looking for something with a web interface to use from smartphone or other device.
Think I found out: WebAdmin, has a network interfaces page which allows to activate/deactivate interface.
Will have to test it out as I just installed it!
This is starting the created wireguard service while wg-quick up wg0-client is the manual way to start the wireguard script.
I have also a wireguard vpn node on my RPi, the service starts on boot so when the device is powered I’m always able to conenct to my VPN.
Without the service I would have run wg-quick command at startup or whenever I would want to use the VPN.
tldr: It’s just another way to start the corresponding WG interface.
I starts on boot if you enabled the service, otherwise you can start in manually with the systemctl start command.
It’s just another way to organize software which starts with boot, to get a better overview. With systemd services you can see everything in one place all your services.
Imagine I would set up a cron which executes at boot, so the interface gets also started at boot. But some services gets started by systemd. Then you have to look in differenct places, which can get a pain in the ass when you troubleshoot something.
I think another advantage is, that the service logs to the journal, which the wg-quick probably does not.