Access to other VLAN over VPN
Posted: 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
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