Userspace connection + proxy working

This commit is contained in:
Owen Schwartz
2024-11-03 16:34:23 -05:00
parent c572ae0e36
commit 236f5acfc7
11 changed files with 381 additions and 0 deletions

6
test/wg_server.sh Normal file
View File

@@ -0,0 +1,6 @@
ip link add dev wg0 type wireguard
ip addr add 192.168.4.1/24 dev wg0
ip link set up dev wg0
wg set wg0 private-key ./key
wg set wg0 listen-port 51820
wg set wg0 peer 3QfirSdDVihYCAz66t6DTAtFtsh+9WVVu7ItlL750hI= allowed-ips 192.168.4.28