This post is not about WireGuard community add-on since that can only be run in server mode.
This post is for the add-on made by bigmoby, WireGuard client.
I’m trying to use this to connect two Home Assistant instances. but the settings are not right and i cannot access the remote client, any ideas what is wrong
interface:
private_key: "my key"
address: 192.168.2.5/24
dns:
- 192.168.1.1
post_up: >-
iptables -t nat -A POSTROUTING -o wg0 -j MASQUERADE; iptables -A FORWARD -p
tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu
post_down: >-
iptables -t nat -D POSTROUTING -o wg0 -j MASQUERADE; iptables -D FORWARD -p
tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu
mtu: 1420
peers:
- public_key: "my key"
endpoint: myvpn.duckdns.org:51820
allowed_ips:
- 0.0.0.0/0
persistent_keep_alive: "25"