diff options
| author | Ahmed Abdelhalim <[email protected]> | 2025-09-12 01:02:15 +0200 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2025-09-12 01:02:15 +0200 |
| commit | 6b364ae9a60904126511895d05462a85bf4abe8e (patch) | |
| tree | bacf7ab6bf041170623372de80ddf7ddecaf7174 /host_vars/rpi5.local.yml.example | |
| parent | ef4c876c435a06184c799bc8d403e53a7c0e233a (diff) | |
Update example/test variables
Diffstat (limited to 'host_vars/rpi5.local.yml.example')
| -rw-r--r-- | host_vars/rpi5.local.yml.example | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/host_vars/rpi5.local.yml.example b/host_vars/rpi5.local.yml.example index 7af78b98..7bfa08e7 100644 --- a/host_vars/rpi5.local.yml.example +++ b/host_vars/rpi5.local.yml.example @@ -1,13 +1,14 @@ --- -network_ipv4_address: "10.0.0.200" +network_interface: "eth0" +network_ipv4_address: "10.0.0.254" network_ipv4_gateway: "10.0.0.1" - -network_ipv6_address: "fd5c:fd8b:2b8c::200/64" +network_ipv6_address: "fd5c:fd8b:2b8c::254/64" network_ipv6_gateway: "fd5c:fd8b:2b8c::1" # TOTP generator: `openssl rand -base64 32 | head -c "20" | base32` pihole_totp_secret: "CHANGEME" pihole_password: "{{ ('changeme' | hash('sha256') | hash('sha256'))[:64] }}" +pihole_interface: "{{ network_interface }}" pihole_dhcp_enabled: true pihole_dhcp_start: "10.0.0.100" pihole_dhcp_end: "10.0.0.199" @@ -16,7 +17,6 @@ pihole_dhcp_hosts: - "ff:ff:ff:ff:ff:fe, 10.0.0.252,TV" - "ff:ff:ff:ff:ff:ff, 10.0.0.253,Printer" -gateway_enabled: true wireguard_autostart_connection: "wg-vpn2" wireguard_connections: wg-vpn2: | @@ -29,3 +29,7 @@ wireguard_connections: PublicKey = server_public_key AllowedIPs = 0.0.0.0/0 Endpoint = vpn.com:51820 + +gateway_enabled: true +gateway_router_interface: "{{ network_interface }}" +gateway_local_ipv4_subnet: "10.0.0.0/24" |
