Basic Installation
Requirements¶
- You need to have a host that you can manage
- You need to have a domain name or a public IP address
- You need a supported architecture (x86_64, arm64)
- You need curl installed on your host
Install Docker¶
Follow the Docs here: https://docs.docker.com/engine/install/ and install Docker on your host.
Install wg-easy¶
-
Create a directory for the configuration files (you can choose any directory you like):
-
Download docker compose file
-
Start
wg-easy
Setup Firewall¶
If you are using a firewall, you need to open the following ports:
- UDP 51820 (WireGuard)
These ports can be changed, so if you change them you have to update your firewall rules accordingly.
Setup Reverse Proxy¶
- To setup traefik follow the instructions here: Traefik
- To setup caddy follow the instructions here: Caddy
- If you do not want to use a reverse proxy follow the instructions here: No Reverse Proxy
Update wg-easy¶
To update wg-easy to the latest version, run:
Auto Update¶
If you want to enable auto-updates, follow the instructions here: Auto Updates