|
@@ -15,34 +15,23 @@ An easy to use VPN server powered by [WireGuard](https://github.com/WeeJeWel/wg-
|
|
|
First find Wiregaurd in the listing of templates from the project.
|
|
|

|
|
|
|
|
|
-Then you will want to "Copy as Custom" because we will need to change some of the default values to tailor it for your use.
|
|
|
-
|
|
|
+## Set all variables
|
|
|
|
|
|
-### This Step is now complete go to the next step.
|
|
|
-<br><br>
|
|
|
-## Customize the App Template.<br>
|
|
|
-
|
|
|
-We will need to edit the template to change a few values.
|
|
|
-
|
|
|
+
|
|
|
|
|
|
-First Ensure the top 3 items (highlighted yellow) are filled out with your own values.
|
|
|
+- `WG_HOST`: A domain name (usually a DDNS) that points to your public IP
|
|
|
+- `PASSWORD`: Password to access the WebUI interface. If left blank, there will be no login page
|
|
|
+- `WG_PORT`: PORT to use to connect to Wireguard from outside
|
|
|
+- `WG_DEFAULT_DNS`: DNS to use while on VPN. It can point to your router (usually 192.168.x.x) or an external one (like 1.1.1.1 or 8.8.8.8). You can set 2 separating them by comma
|
|
|
+- `WG_ALLOWED_IPS`: IPs which connection will be allowed.
|
|
|
|
|
|
-Second you will need to change the two values in the environment section that are circled.
|
|
|
+On my network I deploy a Pi-Hole for DNS level ad blocking and I also have multiple networks which all have various devices on them. So for my setup I used the following values, but make sure you use what will work for your setup:
|
|
|
|
|
|
-Third you may want to change the 2 items with lines next to them. On my network I deploy a Pi-Hole for DNS level ad blocking and I also have multiple networks which all have
|
|
|
-various devices on them. So for my setup I used the following values, but make sure you use what will work for your setup:<br>
|
|
|
`- WG_DEFAULT_DNS=192.168.1.1` #This is the address of my router for DNS forwarding on my network, you can use outside DNS servers for this ie. 8.8.8.8, 8.8.4.4<br>
|
|
|
`- WG_ALLOWED_IPS=0.0.0.0/0, ::/0` #This will allow all addresses from any network, you may want to lock this down for your own setup.
|
|
|
|
|
|
-Finally make sure you save these values by clicking on the "Update the Template" button on the bottom
|
|
|
-
|
|
|
-<br><br>
|
|
|
+Once done, just click `Deploy the stack`.
|
|
|
|
|
|
-## Deploy the Stack
|
|
|
-
|
|
|
-Find the new entry (WireGuard) in your Custom Templates and click on it, then click on the "Deploy the stack" button on the bottom.
|
|
|
-
|
|
|
-<br><br>
|
|
|
### Setup a User
|
|
|
|
|
|
On your main browser navigate to your pi's ip address with port attached (http://192.168.1.10:51821/)
|