Answer the question
In order to leave comments, you need to log in
OpenVPN - how to set up access to the client's LAN?
There is an OpenVPN network with a range of 10.0.0.0/24 and several hosts:
Server on OpenWRT, LAN 192.168.10.2, VPN 10.0.0.1
Client on Ubuntu, LAN 192.168.20.2, VPN 10.0.0.2
Client on Windows, addresses do not matter.
The following options are specified in the OpenVPN server config:
push "route 192.168.10.0 255.255.255.0"
route 192.168.20.0 255.255.255.0 10.0.0.2
$route
...
192.168.20.0 10.0.0.2 255.255.255.0 UG 0 0 0 tun0
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question