1.6 KiB
title | layout |
---|---|
Installing Wireguard | base.njk |
{{title}}
TODO: Explanation of VPNs
Follow the directions for your respective platform. Report any issues to ki9@gf4.pw.
TODO: Split these into seperate pages
Linux
Debian/Ubuntu
Install wireguard and patch this bug using these commands:
sudo apt install wireguard
sudo ln -s /usr/bin/resolvectl /usr/local/bin/resolvconf
Edit the config file as root
sudo nano /etc/wireguard/gf4.conf
Paste your configuration in there. If using systemd-resolved
, adding this line to the [Interface]
section of the wireguard config to ensure .gf4
domains resolve through the wireguard interface.
PostUp = resolvectl domain gf4 gf4
Finally save the file and start the service with:
sudo systemctl start wg-quick@gf4
Enable the VPN to start on boot by running:
sudo systemctl enable wg-quick@gf4
Android
TODO: Android wireguard configuration.
Mac
HELP WANTED: Instructions for configuring on MacOS.
Windows
HELP WANTED: Instructions for configuring on Windows 10.
iPhone
HELP WANTED: Instructions for configuring on an iPhone.
Testing
You know everything is working if you can access the private portal on the device. If you see a privacy warning, wireguard is working and you can move on to the next step: Installing the GF4 CA certificate.
< Back