Acess branch office from my remote pc
-
Hi everyone,
I have two sites HQ (Head Quater) and BO (Branch Office).
I set up Site- to-Site connection between the HQ (running OpenVPN server) and the BO (running Client OpenVPN) using TUN connection. Everything is fine. I can ping from either LAN to the other with no problem.
I added another instance of OpenVPN for remote access on the HQ site. Now, I can ping from my remote pc the LAN of HQ, but I can't ping the LAN of BO.
What do I have to do to access the LAN of the BO?
Thanks for any help.
--Sami
-
You'll need to add static routes to send the data back from the branch office.
-
@jknott HQ LAN is 10.0.1.0/24 and BO LAN is 10.0.2.0/24 with tunnel network 172.16.1.0/30.
From any HQ pc, I can ping any BO pc and vice versa. No problem is here.However from home pc, I can ping any HQ pc but can't ping any pc on BO pc. Note the tunnel network is 172.16.2.0/24.
Where should the static routing be done?
Thank you very much.
-
@sami-mkaddem
You need to add the subnets to the OpenVPN configs.
On the RA server, add the BO subnet as a local network.
On the BO client, add the RA tunnel network as a remote network.
All done in the VPN config's. -
Wow. It works like a charm. THANK YOU VERY MUCH.
Sami