Fix paths to decrypted secrets
This commit is contained in:
+1
-1
@@ -2,7 +2,7 @@
|
|||||||
DisableHT=true
|
DisableHT=true
|
||||||
|
|
||||||
[Security]
|
[Security]
|
||||||
Passphrase=<% cat src/wifi-password.txt %>
|
Passphrase=<% cat secrets/wifi-password.txt %>
|
||||||
|
|
||||||
[IPv4]
|
[IPv4]
|
||||||
Address=<%= $wlan0_address %>
|
Address=<%= $wlan0_address %>
|
||||||
|
|||||||
+2
-2
@@ -1,12 +1,12 @@
|
|||||||
[Interface]
|
[Interface]
|
||||||
ListenPort = <%= $wg_port %>
|
ListenPort = <%= $wg_port %>
|
||||||
PrivateKey = <%= $(cat src/wireguard.private.key) %>
|
PrivateKey = <%= $(cat secrets/wireguard.private.key) %>
|
||||||
Address = <%= $wg0_address %>
|
Address = <%= $wg0_address %>
|
||||||
DNS = <%= $wg0_gateway %>
|
DNS = <%= $wg0_gateway %>
|
||||||
MTU = 1280
|
MTU = 1280
|
||||||
|
|
||||||
[Peer]
|
[Peer]
|
||||||
PublicKey = <%= $(cat src/wireguard.public.key) %>
|
PublicKey = <%= $(cat secrets/wireguard.public.key) %>
|
||||||
Endpoint = <%= $wg_server %>:<%= $wg_port %>
|
Endpoint = <%= $wg_server %>:<%= $wg_port %>
|
||||||
AllowedIPs = 0.0.0.0/0
|
AllowedIPs = 0.0.0.0/0
|
||||||
PersistentKeepalive = 25
|
PersistentKeepalive = 25
|
||||||
|
|||||||
Reference in New Issue
Block a user