From bb7ea4cfe2c3c53ce7a69e5df9b09a4d66aacf7e Mon Sep 17 00:00:00 2001 From: Tristan Ancelet Date: Sun, 26 Nov 2023 16:00:20 -0600 Subject: [PATCH] removed unnecessary info and added addendum --- Home_Lab/SetupWireguard.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Home_Lab/SetupWireguard.md b/Home_Lab/SetupWireguard.md index 6be7f48..51048c1 100644 --- a/Home_Lab/SetupWireguard.md +++ b/Home_Lab/SetupWireguard.md @@ -110,13 +110,12 @@ Here is where you will setup a service to make sure your wg iterface will be res systemctl enable wg-quick@wg# ``` -Note: For a distro using another init system (initrc, openrc, sysvinit, etc) you will need to either implement it as an ifup/ifdown script or some other way. +Note: For a distro using another init system (initrc, openrc, sysvinit, etc) you will need to either implement it as an ifup/ifdown script, network-script, or some other method. ### Step 4: Deploy on client and server This is simple. You just have to put the config we generated in step 2 in the /etc/wireguard directory as wg#.conf (with # being the wireguard interface number (can be anything)) on both the server and client. -Afterwards you can ### Step 5: Setup port forwarding on router/gateway For this step you just need to get on your router and port-forward a port on the router to the port configured on your server. I cannot provide the specific how-to for that since I cannot account for all the different devices that you may be using. @@ -127,9 +126,9 @@ Now all you have to do is test your config work. Just go ahead issue this command on your server and client (while off your home network) ```bash -wg-quick up wg# +sudo wg-quick up wg# ``` -After this you should see packets/traffic (transfer) when running "wg" to see how much data has been transferred to & from the interface. +After this you should see packets/traffic (transfer) when running "wg" to see how much data has been transferred to & from the interface. If you experience any issues you can send me an email and I can see if I can troubleshoot with you.