From 4a890b4862d4fa4d40d47e9d6ffea33fa027b0f9 Mon Sep 17 00:00:00 2001 From: Arya K <73596856+gi-yt@users.noreply.github.com> Date: Mon, 30 May 2022 14:17:28 +0000 Subject: [PATCH] Add non-docker install instructions to README.md --- README.md | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6ae66b35..6a17d8d8 100644 --- a/README.md +++ b/README.md @@ -62,6 +62,24 @@ $ docker run -d \ weejewel/wg-easy +If you don't want to use docker, then add the sysctl tweaks listed above, and install wireguard, nodejs and npm from your package manager. After that, run the following +
+git clone https://github.com/WeeJeWel/wg-easy +cd wg-easy +mv src /app +cd /app +npm ci --production +cp node_modules .. +ufw allow 51821/tcp # (webui) Only for users of the UFW firewall +ufw allow 51820/udp # (wireguard listening port) Only for users of the UFW firewall +cd - +cp wg-easy.service /etc/systemd/system +nano /etc/systemd/system/wg-easy.service # Replace everything that is marked as 'REPLACEME' and tweak it to your liking +systemctl daemon-reload +systemctl enable --now wg-easy.service +systemctl start wg-easy.service ++ > 💡 Replace `YOUR_SERVER_IP` with your WAN IP, or a Dynamic DNS hostname. > > 💡 Replace `YOUR_ADMIN_PASSWORD` with a password to log in on the Web UI. @@ -103,4 +121,4 @@ docker rm wg-easy docker pull weejewel/wg-easy ``` -And then run the `docker run -d \ ...` command above again. \ No newline at end of file +And then run the `docker run -d \ ...` command above again.