OpenVPN Cloud Site-To-Site Configuration Issue..

Next-generation cloud-hosted OpenVPN business solution.
Post Reply
tryllz
OpenVpn Newbie
Posts: 3
Joined: Tue Apr 05, 2022 10:51 pm

OpenVPN Cloud Site-To-Site Configuration Issue..

Post by tryllz » Tue Apr 05, 2022 10:56 pm

Hi,

I have 2 end clients that I'm trying to connect over OpenVPN's Cloud Platform.

Client 1 - 192.168.1.50 - EndClient Connector
Client 2 - 192.168.0.38 - EPCConnector

I have configured the network configuration following https://openvpn.net/cloud-docs/site-to- ... nectivity/.

I have received a Tunnel IP in the 100.x.x.x range on both Connectors (named EndClient and EPCConnector). The Connectors are also the devices that I'm trying to communicate with each other (Can the Connectors act as the End Client ?).

I then download the .ovpn file and import it into the End Client (which is also the Connector) and both End Clients succeed in connecting through the VPN but they can't ping each other, and so both the sites (192.168.0.0 and 192.168.1.0) can't reach each other either.

Image

Image

Image

Kindly understand that the systems were turned off while asking this question thus the Offline/Online with issues error.

Anything I need to know about ?

tryllz
OpenVpn Newbie
Posts: 3
Joined: Tue Apr 05, 2022 10:51 pm

Re: OpenVPN Cloud Site-To-Site Configuration Issue..

Post by tryllz » Thu Apr 07, 2022 11:25 am

The EPCConnector IP is 100.96.1.18, the Cent OS configured with this connector has 2 interfaces, 1 is WAN which is 10.0.2.2 (gateway for all traffic to internet) and the other is LAN which is 192.168.1.50.

The EndClient Connector is 100.96.1.22, and this Cent OS configured with the connector has 1 WAN interface 192.168.5.2 (gateway), and the Cent OS IP is 192.168.5.137.

As understood, the Tunnel IP is in the 100.96.1.0 network.

Now how do I add the Routes on both the Cent OS.

tryllz
OpenVpn Newbie
Posts: 3
Joined: Tue Apr 05, 2022 10:51 pm

Re: OpenVPN Cloud Site-To-Site Configuration Issue..

Post by tryllz » Fri Apr 08, 2022 10:31 am

I got the end devices to communicate (ping works, and a day before the webpage also opened), but for some reason a few minutes later the ping stops responding.

Device 1 | Routes

route -nKernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.5.2 0.0.0.0 UG 100 0 0 ens32
50.7.5.110 192.168.5.2 255.255.255.255 UGH 0 0 0 ens32
100.80.0.0 100.96.1.33 255.240.0.0 UG 0 0 0 tun0
100.96.0.0 100.96.1.33 255.224.0.0 UG 0 0 0 tun0
100.96.1.32 0.0.0.0 255.255.255.240 U 0 0 0 tun0
192.168.0.0 100.96.1.33 255.255.255.0 UG 0 0 0 tun0
192.168.1.0 100.96.1.33 255.255.255.0 UG 0 0 0 tun0
192.168.5.0 100.96.1.33 255.255.255.0 UG 0 0 0 tun0
192.168.5.0 0.0.0.0 255.255.255.0 U 100 0 0 ens32
192.168.122.0 0.0.0.0 255.255.255.0 U 0 0 0 virbr0


Device 2 | Routes

route -nKernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 10.0.2.2 0.0.0.0 UG 100 0 0 enp0s3
10.0.2.0 0.0.0.0 255.255.255.0 U 100 0 0 enp0s3
10.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 tun_lagw_1
10.255.0.0 0.0.0.0 255.255.0.0 U 0 0 0 tun_lagw_2
50.7.5.108 10.0.2.2 255.255.255.255 UGH 0 0 0 enp0s3
100.80.0.0 100.96.1.17 255.240.0.0 UG 0 0 0 tun0
100.96.0.0 100.96.1.17 255.224.0.0 UG 0 0 0 tun0
100.96.1.16 0.0.0.0 255.255.255.240 U 0 0 0 tun0
192.168.1.0 100.96.1.17 255.255.255.0 UG 0 0 0 tun0
192.168.1.0 0.0.0.0 255.255.255.0 U 101 0 0 enp0s8
192.168.5.0 100.96.1.17 255.255.255.0 UG 0 0 0 tun0
192.168.122.0 0.0.0.0 255.255.255.0 U 0 0 0 virbr0

Post Reply