Initial commit

Basic working code that is capable of establishing the Wireguard tunnel given that there is properly configured `.psk` file for at least one known wifi network (see README.md for more details)
This commit is contained in:
Lukas Stancik
2025-02-27 13:59:58 +00:00
commit 8176e71b81
27 changed files with 1355 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
[Interface]
ListenPort = <%= $wg_port %>
PrivateKey = <%= $(cat src/wireguard.private.key) %>
Address = <%= $wg0_address %>
DNS = <%= $wg0_gateway %>
MTU = 1280
[Peer]
PublicKey = <%= $(cat src/wireguard.public.key) %>
Endpoint = <%= $wg_server %>:<%= $wg_port %>
AllowedIPs = 0.0.0.0/0
PersistentKeepalive = 25