diff --git a/src/hotspot.conf b/src/hotspot.conf index 205230a..aa2aef0 100644 --- a/src/hotspot.conf +++ b/src/hotspot.conf @@ -2,7 +2,7 @@ DisableHT=true [Security] -Passphrase=<% cat src/wifi-password.txt %> +Passphrase=<% cat secrets/wifi-password.txt %> [IPv4] Address=<%= $wlan0_address %> diff --git a/src/wg0.conf b/src/wg0.conf index d4c3651..ced89cb 100644 --- a/src/wg0.conf +++ b/src/wg0.conf @@ -1,12 +1,12 @@ [Interface] ListenPort = <%= $wg_port %> -PrivateKey = <%= $(cat src/wireguard.private.key) %> +PrivateKey = <%= $(cat secrets/wireguard.private.key) %> Address = <%= $wg0_address %> DNS = <%= $wg0_gateway %> MTU = 1280 [Peer] -PublicKey = <%= $(cat src/wireguard.public.key) %> +PublicKey = <%= $(cat secrets/wireguard.public.key) %> Endpoint = <%= $wg_server %>:<%= $wg_port %> AllowedIPs = 0.0.0.0/0 PersistentKeepalive = 25