2022-06-19 10:38:23 +00:00
|
|
|
---
|
|
|
|
ansible_host: "192.168.1.41"
|
|
|
|
ansible_python_interpreter: "/usr/bin/python3"
|
2022-09-09 15:33:35 +00:00
|
|
|
wireguard_address: "10.0.0.5/24"
|
|
|
|
wireguard_allowed_ips: "10.0.0.5/32,192.168.1.0/24"
|
|
|
|
perrsistent_keepalive: "30"
|
|
|
|
wireguard_endpoint: ""
|
|
|
|
|
|
|
|
wireguard_postup:
|
|
|
|
- iptables -A FORWARD -i wg0 -j ACCEPT
|
|
|
|
- iptables -A FORWARD -o wg0 -j ACCEPT
|
|
|
|
- iptables -t nat -A POSTROUTING -o eno1 -j MASQUERADE
|
|
|
|
|
|
|
|
wireguard_postdown:
|
|
|
|
- iptables -D FORWARD -i wg0 -j ACCEPT
|
|
|
|
- iptables -D FORWARD -o wg0 -j ACCEPT
|
|
|
|
- iptables -t nat -D POSTROUTING -o eno1 -j MASQUERADE
|
|
|
|
|