diff options
| author | Ahmed Abdelhalim <[email protected]> | 2025-09-01 22:24:41 +0200 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2025-09-01 23:44:24 +0200 |
| commit | 17f10052bdbc4cf5bfd0e2fa335f13c0165284a5 (patch) | |
| tree | d3ca8c539c7f0d0e9a4a115de4e6be1bf24f3f5d /host_vars | |
| parent | 38b83b874e91027449e2ffcc2f8ee9e50d4c6554 (diff) | |
Fix networking issues when VPN isn't active
Diffstat (limited to 'host_vars')
| -rw-r--r-- | host_vars/archlinux.local.yml | bin | 207 -> 288 bytes | |||
| -rw-r--r-- | host_vars/archlinux.local.yml.example | 7 | ||||
| -rw-r--r-- | host_vars/rpi5.local.yml | bin | 529 -> 610 bytes | |||
| -rw-r--r-- | host_vars/rpi5.local.yml.example | 6 | ||||
| -rw-r--r-- | host_vars/ubuntu.local.yml.example | 5 |
5 files changed, 16 insertions, 2 deletions
diff --git a/host_vars/archlinux.local.yml b/host_vars/archlinux.local.yml Binary files differindex cae65971..66880995 100644 --- a/host_vars/archlinux.local.yml +++ b/host_vars/archlinux.local.yml diff --git a/host_vars/archlinux.local.yml.example b/host_vars/archlinux.local.yml.example index 0a727133..5e8c1e55 100644 --- a/host_vars/archlinux.local.yml.example +++ b/host_vars/archlinux.local.yml.example @@ -1,6 +1,11 @@ --- +# Using raspberry pi as gateway (VPN) and DNS sinkhole (pihole) network_ipv4_address: "10.0.0.201" -network_ipv4_gateway: "10.0.0.1" +network_ipv4_gateway: "10.0.0.200" +network_ipv4_dns: "10.0.0.200" +network_ipv6_address: "fd5c:fd8b:2b8c::201/64" +network_ipv6_gateway: "fd5c:fd8b:2b8c::200" +network_ipv6_dns: "fd5c:fd8b:2b8c::200" wireguard_connections: protonvpn-us-1: | diff --git a/host_vars/rpi5.local.yml b/host_vars/rpi5.local.yml Binary files differindex e823df29..f5eccb3b 100644 --- a/host_vars/rpi5.local.yml +++ b/host_vars/rpi5.local.yml diff --git a/host_vars/rpi5.local.yml.example b/host_vars/rpi5.local.yml.example index af2e8dea..2b0e9dbb 100644 --- a/host_vars/rpi5.local.yml.example +++ b/host_vars/rpi5.local.yml.example @@ -1,6 +1,10 @@ --- -network_ipv4_address: "10.0.0.202" +network_ipv4_address: "10.0.0.200" network_ipv4_gateway: "10.0.0.1" +network_ipv4_dns: "10.0.0.200" +network_ipv6_address: "fd5c:fd8b:2b8c::200/64" +network_ipv6_gateway: "fd5c:fd8b:2b8c::1" +network_ipv6_dns: "fd5c:fd8b:2b8c::200" # TOTP generator: `openssl rand -base64 32 | head -c "20" | base32` pihole_totp_secret: "CHANGEME" diff --git a/host_vars/ubuntu.local.yml.example b/host_vars/ubuntu.local.yml.example index e552d7ea..1a1cb875 100644 --- a/host_vars/ubuntu.local.yml.example +++ b/host_vars/ubuntu.local.yml.example @@ -1,6 +1,11 @@ --- +# Not using raspberry pi as gateway or DNS sinkhole network_ipv4_address: "10.0.0.203" network_ipv4_gateway: "10.0.0.1" +network_ipv4_dns: "10.0.0.1" +network_ipv6_address: "fd5c:fd8b:2b8c::203/64" +network_ipv6_gateway: "fd5c:fd8b:2b8c::1" +network_ipv6_dns: "fd5c:fd8b:2b8c::1" wireguard_connections: protonvpn-us-1: | |
