enable and configure NAT64 for z9 client network

This commit is contained in:
lilly 2026-12-06 02:25:09 +01:00
commit ac580621b4
Signed by: lilly
SSH key fingerprint: SHA256:y9T5GFw2A20WVklhetIxG1+kcg/Ce0shnQmbu1LQ37g
5 changed files with 22 additions and 0 deletions

View file

@ -4,6 +4,8 @@ nftables__config: "{{ lookup('ansible.builtin.file', 'resources/z9/z9-router/nft
ansible_pull__timer_on_calendar: "*-*-* 04:00:00 Europe/Berlin" ansible_pull__timer_on_calendar: "*-*-* 04:00:00 Europe/Berlin"
ansible_pull__timer_randomized_delay_sec: 0min ansible_pull__timer_randomized_delay_sec: 0min
unbound_access_control: [ "10.89.208.0/20", "2a07:c481:1::/48" ] unbound_access_control: [ "10.89.208.0/20", "2a07:c481:1::/48" ]
unbound_enable_dns64: true
unbound_dns64_prefix: "{{ jool_nat64__prefix }}"
deploy_systemd_resolved_config__enable: false deploy_systemd_resolved_config__enable: false
deploy_systemd_resolved_config__dns: deploy_systemd_resolved_config__dns:
- 127.0.0.1 - 127.0.0.1
@ -14,3 +16,4 @@ secrets__folder:
owner: "root" owner: "root"
mode: "0754" mode: "0754"
group: 998 group: 998
jool_nat64__prefix: "64:ff9b::/96"

View file

@ -86,3 +86,6 @@ secrets_hosts:
z9-router: z9-router:
forgejo_runner_hosts: forgejo_runner_hosts:
hosts: hosts:
jool_hosts:
hosts:
z9-router:

View file

@ -41,6 +41,13 @@
tags: tags:
- kea_dhcp - kea_dhcp
- name: Ensure jool deployment on jool_hosts
hosts: jool_hosts
roles:
- jool_nat64
tags:
- jool_nat64
- name: Ensure deployment of infrastructure authorized keys - name: Ensure deployment of infrastructure authorized keys
hosts: infrastructure_authorized_keys_hosts hosts: infrastructure_authorized_keys_hosts
roles: roles:

View file

@ -15,6 +15,9 @@ kea_dhcp__dhcp4:
data: "10.89.208.1" data: "10.89.208.1"
- name: routers - name: routers
data: 10.89.208.1 data: 10.89.208.1
# This will make the v6-only capable devices to disable their v4 stack for 5 minutes and then try again
- name: v6-only-preferred
data: "300"
pools: pools:
- pool: "10.89.208.32 - 10.89.211.250" - pool: "10.89.208.32 - 10.89.211.250"
reservations: reservations:

View file

@ -27,3 +27,9 @@ Prefix=2a07:c481:1:33::/64
Assign=true Assign=true
Token=static:::1 Token=static:::1
[IPv6RoutePrefix]
Route=64:ff9b::/96
[IPv6PREF64Prefix]
Prefix=64:ff9b::/96