wireguard site to site "outbound traffic"

Bom dia!
Estou a enviar este pedido de ajuda!
Como posso encaminhar todo trafego vindo da filial a sair pela matriz. em uma ligação VPN wireguard Site to Site.
Alguém me pode ajudar!
Obrig.
vpn aut matriz.png

Welcome to the forum, we use the English language to communicate.

Good morning!
I don’t have very good English…
google translate!
I am sending this request for help!
How can I route all traffic coming from the " filial " to leave through the " Matriz ". on a wireguard Site to Site VPN connection.
Can anyone help me!
Thanks.

For sure.
Post both configs
/export file=anynameyouwish (minus router serial number, any public WANIP information, wireguard keys )

Also indicate which router is server for handshake and which is client peer for handshake. ( I am assuming its matriz which has a public IP and is the server peer for handshake)

Goodnight.
After thinking a bit I came up with the solution!
The problem was that the default route 0.0.0.0/0 cannot be used to connect the tunnel, but rather a fixed route to connect to the VPN.

Solved and thank you!