OVPN WITH 3 SITES

Hello all,

I would like some help about vpn with opvn.
I have 3 sites.
A) Head Office
B) Branch 1
C) Branch 2

I have setup vpn with ovpn at :

  1. Head Office ↔ Branch 1
  2. Head Office ↔ Branch 2
    which is working fine. Now I would like to give the option
    for Branch 1 to communicate with Branch 2 without direct connection.

I know that I need to add some routes but I can’t make them work.
It will be better to do a direct connection from Branch 1 to Branch 2 for faster communication ?


Any suggestions please.


Thanks

SInce Head Office ↔ Branch 1 and Head Office ↔ Branch 2 are working fine I assume the following:

  • you need to add routing at Branch 1 for Branch 2 via the VPN
  • you need to add routing at Branch 2 for Branch 1 via the VPN.
    That is all.

And yes, it is better if you connect Branch 1 and Branch 2 directly. For that you need to setup a VPN server in one of the branches and then add a secondary vpn client interface in the other branch.