2021-06-03 22:02:25 +02:00
|
|
|
* WireGuard for YunoHost will add a DMKS module to your Linux kernel.
|
|
|
|
* You may need to reboot your server for WireGuard to be able to start.
|
|
|
|
* The package includes WireGuard and non-official web UI to configure it.
|
|
|
|
* Avoid altering the configuration files via the command line interface, though.
|
|
|
|
* Use YunoHost permissions panel to allow users to access the web UI.
|
|
|
|
* Only one network interface, *wg0*, can be managed with this app at the moment.
|
|
|
|
|
2021-12-22 19:27:37 +01:00
|
|
|
After installation, you need to `Apply Config` once in the UI before the VPN service can be started.
|
|
|
|
|
2021-06-03 22:02:25 +02:00
|
|
|
### Make your server share its Internet connection
|
|
|
|
|
|
|
|
#### Enable port forwarding
|
|
|
|
|
|
|
|
```bash
|
|
|
|
sudo nano /etc/sysctl.conf
|
|
|
|
# Uncomment the following lines:
|
|
|
|
net.ipv4.ip_forward = 1
|
|
|
|
net.ipv6.conf.all.forwarding = 1
|
|
|
|
# Save and quit (CTRL+O, CTRL+X)
|
|
|
|
sudo sysctl -p
|
|
|
|
```
|
|
|
|
|