Page 1 of 1

Access to other VLAN over VPN

Posted: Wed Apr 13, 2022 8:35 am
by m.lampl
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

Re: Access to other VLAN over VPN

Posted: Wed Apr 13, 2022 10:26 am
by openvpn_inc
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