From 27be196d170ae4267fdb8c8df47132844366ad9e Mon Sep 17 00:00:00 2001 From: Jeff Clement Date: Fri, 15 Nov 2024 08:33:57 -0700 Subject: [PATCH] switching public/private --- diy-tunnel/README.md | 2 +- diy-tunnel/{public => private}/docker-container/README.md | 0 .../{public => private}/docker-container/docker-compose.yml | 0 diy-tunnel/{public => private}/docker-container/wg0.conf | 0 diy-tunnel/{public => private}/docker-on-host/README.md | 0 diy-tunnel/{public => private}/docker-on-host/wg0.conf | 0 diy-tunnel/{public => private}/simple/README.md | 0 diy-tunnel/{public => private}/simple/wg0.conf | 0 diy-tunnel/{private => vps}/README.md | 0 diy-tunnel/{private => vps}/wg0.conf | 0 10 files changed, 1 insertion(+), 1 deletion(-) rename diy-tunnel/{public => private}/docker-container/README.md (100%) rename diy-tunnel/{public => private}/docker-container/docker-compose.yml (100%) rename diy-tunnel/{public => private}/docker-container/wg0.conf (100%) rename diy-tunnel/{public => private}/docker-on-host/README.md (100%) rename diy-tunnel/{public => private}/docker-on-host/wg0.conf (100%) rename diy-tunnel/{public => private}/simple/README.md (100%) rename diy-tunnel/{public => private}/simple/wg0.conf (100%) rename diy-tunnel/{private => vps}/README.md (100%) rename diy-tunnel/{private => vps}/wg0.conf (100%) diff --git a/diy-tunnel/README.md b/diy-tunnel/README.md index 81274ba..8eb6eab 100644 --- a/diy-tunnel/README.md +++ b/diy-tunnel/README.md @@ -27,7 +27,7 @@ Steps: * Update the ports `80,443` to be whatever ports you want to pass through. * Add the private key for the private server, and the public key for the public server. * Update the public IP for the public server (replace all 999.999.999.999) with your VPS IP -4. Start wireguard on each machine: `wg-quick wg0 up` +4. Start wireguard on each machine: `wg-quick up wg0` 5. Enable wireguard on boot on each machine: `sudo systemctl enable wg-quick@wg0` ## Testing: diff --git a/diy-tunnel/public/docker-container/README.md b/diy-tunnel/private/docker-container/README.md similarity index 100% rename from diy-tunnel/public/docker-container/README.md rename to diy-tunnel/private/docker-container/README.md diff --git a/diy-tunnel/public/docker-container/docker-compose.yml b/diy-tunnel/private/docker-container/docker-compose.yml similarity index 100% rename from diy-tunnel/public/docker-container/docker-compose.yml rename to diy-tunnel/private/docker-container/docker-compose.yml diff --git a/diy-tunnel/public/docker-container/wg0.conf b/diy-tunnel/private/docker-container/wg0.conf similarity index 100% rename from diy-tunnel/public/docker-container/wg0.conf rename to diy-tunnel/private/docker-container/wg0.conf diff --git a/diy-tunnel/public/docker-on-host/README.md b/diy-tunnel/private/docker-on-host/README.md similarity index 100% rename from diy-tunnel/public/docker-on-host/README.md rename to diy-tunnel/private/docker-on-host/README.md diff --git a/diy-tunnel/public/docker-on-host/wg0.conf b/diy-tunnel/private/docker-on-host/wg0.conf similarity index 100% rename from diy-tunnel/public/docker-on-host/wg0.conf rename to diy-tunnel/private/docker-on-host/wg0.conf diff --git a/diy-tunnel/public/simple/README.md b/diy-tunnel/private/simple/README.md similarity index 100% rename from diy-tunnel/public/simple/README.md rename to diy-tunnel/private/simple/README.md diff --git a/diy-tunnel/public/simple/wg0.conf b/diy-tunnel/private/simple/wg0.conf similarity index 100% rename from diy-tunnel/public/simple/wg0.conf rename to diy-tunnel/private/simple/wg0.conf diff --git a/diy-tunnel/private/README.md b/diy-tunnel/vps/README.md similarity index 100% rename from diy-tunnel/private/README.md rename to diy-tunnel/vps/README.md diff --git a/diy-tunnel/private/wg0.conf b/diy-tunnel/vps/wg0.conf similarity index 100% rename from diy-tunnel/private/wg0.conf rename to diy-tunnel/vps/wg0.conf