Connect home and office with wireguard vpn?

i have my home assistant at my home in a laptop with ubuntu which is working fine having duckdns address, with internal ip range 192.168.9.x
now i have installed hassio in a raspberry pi 3b+ at my office and it is working good without duckdns but only internal network, with internal ip range 192.168.31.x

now i want to connect my office raspberry pi to my home hassio and manage completely from my home ,

how to connect it , i want to use wireguard vpn ,
can anyone help me configure it ?

i have added a peer in my home assistant server , for my home assistant which is running in my office raspberry pi ,
the client.conf file shows this,

[Interface]
PrivateKey = qwerty/zFkgKEpLxxxxxxxxxxxxxxxxxxxxxxs=
Address = 172.xx.66.4/24
DNS = 172.xx.32.3

[Peer]
PublicKey = vlxCxxxxxxxxxxxxxxxxxxxxxxxxxxxxx9v/asdfgh=
Endpoint = xxxxxxxxxxxxx.duckdns.org:51820
AllowedIPs = 0.0.0.0/0
PersistentKeepalive = 25

now how to configure my office raspberry pi to connect with my home assistant server in my home,

i am unable to put the details in my office home assistant wireguard addon setting

anyone connect two home assistant setups with each other using wireguard vpn ?

if anyone can give me an example of the client hassio wireguard setting ?

Hi,

Iā€™m trying to do the same, a site to site VPN between 2 instances of HA.
Did you achieve it ?

1 Like