2023-11-18 10:03:39 +00:00
|
|
|
---
|
2024-02-13 19:24:42 +00:00
|
|
|
ansible_host: nas-dev.lan.ducamps.dev
|
2024-02-04 20:22:20 +00:00
|
|
|
default_interface: eth0
|
|
|
|
vault_iface: "{{ default_interface}}"
|
2023-11-18 10:03:39 +00:00
|
|
|
wireguard_address: "10.0.1.8/24"
|
|
|
|
perrsistent_keepalive: "30"
|
|
|
|
wireguard_endpoint: ""
|
|
|
|
|
|
|
|
wireguard_postup:
|
|
|
|
- iptables -A FORWARD -i wg0 -j ACCEPT
|
|
|
|
- iptables -A FORWARD -o wg0 -j ACCEPT
|
2024-02-04 20:22:20 +00:00
|
|
|
- iptables -t nat -A POSTROUTING -o {{ default_interface }} -j MASQUERADE
|
2023-11-18 10:03:39 +00:00
|
|
|
|
|
|
|
wireguard_postdown:
|
|
|
|
- iptables -D FORWARD -i wg0 -j ACCEPT
|
|
|
|
- iptables -D FORWARD -o wg0 -j ACCEPT
|
2024-02-04 20:22:20 +00:00
|
|
|
- iptables -t nat -D POSTROUTING -o {{ default_interface }} -j MASQUERADE
|