homelab/ansible/host_vars/gerard

25 lines
724 B
Plaintext
Raw Permalink Normal View History

---
ansible_host: "192.168.1.41"
ansible_python_interpreter: "/usr/bin/python3"
2024-01-30 17:30:42 +00:00
default_interface: "enu1u1"
consul_iface: "{{ default_interface }}"
vault_iface: "{{ default_interface }}"
2022-09-13 12:38:38 +00:00
wireguard_address: "10.0.0.6/24"
wireguard_byhost_allowed_ips:
merlin: 10.0.0.6,192.168.1.41
2022-11-11 16:45:46 +00:00
corwin: 10.0.0.6,192.168.1.41
2022-10-14 10:52:34 +00:00
perrsistent_keepalive: "20"
wireguard_endpoint: ""
wireguard_postup:
- iptables -A FORWARD -i wg0 -j ACCEPT
- iptables -A FORWARD -o wg0 -j ACCEPT
2024-01-30 17:30:42 +00:00
- iptables -t nat -A POSTROUTING -o {{ default_interface }} -j MASQUERADE
wireguard_postdown:
- iptables -D FORWARD -i wg0 -j ACCEPT
- iptables -D FORWARD -o wg0 -j ACCEPT
2024-01-30 17:30:42 +00:00
- iptables -t nat -D POSTROUTING -o {{ default_interface }} -j MASQUERADE