diff options
| author | Ahmed AbdelHalim <[email protected]> | 2025-08-31 17:21:40 +0200 |
|---|---|---|
| committer | Ahmed AbdelHalim <[email protected]> | 2025-08-31 17:21:40 +0200 |
| commit | d56f90cc8773ad0a3c42d2622f7ea0096d2b3ff6 (patch) | |
| tree | bf748ca959a6234dcba35ff6f40d2ad640aef4ce /host_vars/rpi5.local.yml.example | |
| parent | b87abd94cb7f4a109d2eb7b5792e529b0797bda2 (diff) | |
Update wireguard connections
Diffstat (limited to 'host_vars/rpi5.local.yml.example')
| -rw-r--r-- | host_vars/rpi5.local.yml.example | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/host_vars/rpi5.local.yml.example b/host_vars/rpi5.local.yml.example index 920e92ff..f8515fbd 100644 --- a/host_vars/rpi5.local.yml.example +++ b/host_vars/rpi5.local.yml.example @@ -5,3 +5,16 @@ network_ipv4_gateway: "10.0.0.1" # TOTP generator: `openssl rand -base64 32 | head -c "20" | base32` pihole_totp_secret: "CHANGEME" pihole_password: "{{ ('changeme' | hash('sha256') | hash('sha256'))[:64] }}" + +wireguard_autostart_connection: "protonvpn-us-1" +wireguard_connections: + protonvpn-us-1: | + [Interface] + PrivateKey = your_private_key_here + Address = 10.2.0.2/32 + DNS = 10.2.0.1 + + [Peer] + PublicKey = server_public_key + AllowedIPs = 0.0.0.0/0 + Endpoint = us-1.protonvpn.com:51820 |
