Answer the question
In order to leave comments, you need to log in
How to configure OpenVPN to work on LAN from WAN?
I configure OpenVPN on ubuntu-server 19 with two network cards. Main goal:
WAN => OpenVPN <= LAN
According to the instructions from openvpn, I write in the config:
push "route 192.168.2.0 255.255.255.0"
Answer the question
In order to leave comments, you need to log in
Do your computers inside the network know about the route to the VPN client?
This works immediately only if the VPN server is also the default gateway for computers within the network. As far as I understand, this is not your case. If this is the case, then you need to register a route to the VPN network on the computers and specify the internal address of the VPN server as the gateway. Routes can be written in any available way: by hand, via DHCP, via GPO ...
Little information in the subject.
Is there an Internet connection to the VPN server?
Is the locale visible from the server and vice versa?
Is packet forwarding between network interfaces enabled on the server?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question