From ebc491774ce2dcea46310cc8dd32504086fea8ee Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Sun, 31 Aug 2025 17:21:40 +0200 Subject: Update wireguard connections --- host_vars/archlinux.local.yml | Bin 104 -> 203 bytes host_vars/archlinux.local.yml.example | 12 ++++++++++++ host_vars/rpi5.local.yml | Bin 264 -> 393 bytes host_vars/rpi5.local.yml.example | 13 +++++++++++++ host_vars/ubuntu.local.yml | Bin 104 -> 528 bytes host_vars/ubuntu.local.yml.example | 12 ++++++++++++ 6 files changed, 37 insertions(+) (limited to 'host_vars') diff --git a/host_vars/archlinux.local.yml b/host_vars/archlinux.local.yml index 779ac449..163b4321 100644 Binary files a/host_vars/archlinux.local.yml and b/host_vars/archlinux.local.yml differ diff --git a/host_vars/archlinux.local.yml.example b/host_vars/archlinux.local.yml.example index 90185c62..0a727133 100644 --- a/host_vars/archlinux.local.yml.example +++ b/host_vars/archlinux.local.yml.example @@ -1,3 +1,15 @@ --- network_ipv4_address: "10.0.0.201" network_ipv4_gateway: "10.0.0.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 diff --git a/host_vars/rpi5.local.yml b/host_vars/rpi5.local.yml index b285358d..a633f5a8 100644 Binary files a/host_vars/rpi5.local.yml and b/host_vars/rpi5.local.yml differ 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 diff --git a/host_vars/ubuntu.local.yml b/host_vars/ubuntu.local.yml index 596d68e9..8fc0e6f0 100644 Binary files a/host_vars/ubuntu.local.yml and b/host_vars/ubuntu.local.yml differ diff --git a/host_vars/ubuntu.local.yml.example b/host_vars/ubuntu.local.yml.example index defd152d..e552d7ea 100644 --- a/host_vars/ubuntu.local.yml.example +++ b/host_vars/ubuntu.local.yml.example @@ -1,3 +1,15 @@ --- network_ipv4_address: "10.0.0.203" network_ipv4_gateway: "10.0.0.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 -- cgit v1.2.3