From 01871338aec4bdaba0a2f59e9c45e4f91bcc24f2 Mon Sep 17 00:00:00 2001
From: TheJoeCoder <joe@radialbog9.uk>
Date: Sat, 13 Jan 2024 23:16:55 +0000
Subject: [PATCH] Add new file

---
 .../wg0_client.conf                           | 21 +++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 wireguard_vps-to-internal_forwarding/wg0_client.conf

diff --git a/wireguard_vps-to-internal_forwarding/wg0_client.conf b/wireguard_vps-to-internal_forwarding/wg0_client.conf
new file mode 100644
index 0000000..dc9e5b5
--- /dev/null
+++ b/wireguard_vps-to-internal_forwarding/wg0_client.conf
@@ -0,0 +1,21 @@
+#
+# Client (the actual self-host local server)
+#
+
+[Interface]
+## This Desktop/client's private key ##
+PrivateKey = <CLIENT PRIVKEY>
+Address = 10.10.123.2/24
+ 
+[Peer]
+PublicKey = <SERVER PUBKEY>
+ 
+## set ACL ##
+AllowedIPs = 10.10.123.0/24
+# setting to 0.0.0.0/0 routes all outbound through the vpn and out the public vps
+#AllowedIPs = 0.0.0.0/0
+ 
+Endpoint = <SERVER IP>:12345
+ 
+##  Key connection alive ##
+PersistentKeepalive = 15
-- 
GitLab