17 lines
499 B
Plaintext
17 lines
499 B
Plaintext
---
|
|
wireguard_address: "10.0.1.8/24"
|
|
perrsistent_keepalive: "30"
|
|
wireguard_endpoint: ""
|
|
wireguard_byhost_allowed_ips:
|
|
merlin: 10.0.0.8,192.168.1.10
|
|
corwin: 10.0.0.8,192.168.1.10
|
|
wireguard_postup:
|
|
- iptables -A FORWARD -i wg0 -j ACCEPT
|
|
- iptables -A FORWARD -o wg0 -j ACCEPT
|
|
- iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
|
|
|
|
wireguard_postdown:
|
|
- iptables -D FORWARD -i wg0 -j ACCEPT
|
|
- iptables -D FORWARD -o wg0 -j ACCEPT
|
|
- iptables -t nat -D POSTROUTING -o eth0 -j MASQUERADE
|