Access to other VLAN over VPN

Business solution to host your own OpenVPN server with web management interface and bundled clients.
Post Reply
m.lampl
OpenVpn Newbie
Posts: 1
Joined: Wed Apr 13, 2022 8:08 am

Access to other VLAN over VPN

Post by m.lampl » Wed Apr 13, 2022 8:35 am

Hello,

i have following Problem.

My OVPN Access Server is in a VLAN 100 with IP 192.168.3.1
My Internal Network is VLAN 0 with IP Range 192.168.0.0/24 on which i need access over the VPN.

On the OpenVPN Ubuntu Host itself i can ping the VLAN 0 Devices.

When i connect to VPN from external i can not ping the Devices in VLAN 0 - VLAN 100 works fine.
Traceroute states that routing to 192.168.0.0/24 is going over the VPN so that should be ok.

In VPN Settings under Routing i enabled NAT and put in my 2 internal Networks
192.168.0.0/24
192.168.3.0/24

Any idea what could be wrong?


172.27.224.3 is the IP which i receive with VPN active.


Netzwerkziel Netzwerkmaske Gateway Schnittstelle Metrik
0.0.0.0 0.0.0.0 10.5.5.1 10.5.5.142 25
8.8.8.8 255.255.255.255 172.27.224.1 172.27.224.3 102
192.168.0.0 255.255.255.0 172.27.224.1 172.27.224.3 102
192.168.3.0 255.255.255.0 172.27.224.1 172.27.224.3 102

User avatar
openvpn_inc
OpenVPN Inc.
Posts: 1332
Joined: Tue Feb 16, 2021 10:41 am

Re: Access to other VLAN over VPN

Post by openvpn_inc » Wed Apr 13, 2022 10:26 am

Hello m.lampl,

I suggest you use tcpdump to see what happens to ICMP ping request and reply packets going through the VPN server.

Kind regards,
Johan
Image OpenVPN Inc.
Answers provided by OpenVPN Inc. staff members here are provided on a voluntary best-effort basis, and no rights can be claimed on the basis of answers posted in this public forum. If you wish to get official support from OpenVPN Inc. please use the official support ticket system: https://openvpn.net/support

Post Reply