20 lines
643 B
Plaintext
20 lines
643 B
Plaintext
---
|
|
wireguard_address: "10.0.0.8/24"
|
|
default_interface: "enp2s0"
|
|
consul_iface: "{{ default_interface}}"
|
|
vault_iface: "{{ default_interface}}"
|
|
perrsistent_keepalive: "30"
|
|
wireguard_endpoint: ""
|
|
wireguard_byhost_allowed_ips:
|
|
merlin: 10.0.0.8,192.168.1.43
|
|
corwin: 10.0.0.8,192.168.1.43
|
|
wireguard_postup:
|
|
- iptables -A FORWARD -i wg0 -j ACCEPT
|
|
- iptables -A FORWARD -o wg0 -j ACCEPT
|
|
- 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
|
|
- iptables -t nat -D POSTROUTING -o {{ default_interface }} -j MASQUERADE
|