How to connect 2 different LANs and Openvpn Server

This forum is for general conversation and user-user networking.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
riccardo.dragoni
OpenVpn Newbie
Posts: 1
Joined: Mon May 29, 2017 10:19 am

How to connect 2 different LANs and Openvpn Server

Post by riccardo.dragoni » Mon May 29, 2017 10:30 am

HI,
I have a problem about the following configuration:

LAN1
LAN: 192.168.0.0/24
GW: 192.168.0.28 (this is a Teltonika ru955 router1 with OpenVPN Client)
HOST on LAN1: 192.168.0.24

LAN2
LAN: 172.16.8.0/24
GW: 172.16.8.254 (this is a Teltonika ru955 router2 with OpenVPN Client)
HOST on LAN2: 172.16.8.100

OpenVPN Server
IP: Public IP (VPS on Aruba cloud)

I have configured connection of 2 Teltonika routers with OpenVPN Server and it's ok. So I have the following VPN ips:

VPN OpenVPN Server: 10.8.0.1
VPN IP Router1: 10.8.0.6
VPN IP Router2: 10.8.0.10

and ping from OpenVPN Server it's ok.
But if HOST on LAN1 ping HOST on LAN2 I received this:
10.8.0.1 icmp_seq=1 Destination Host Prohibited

Post Reply