Answer the question
In order to leave comments, you need to log in
How to properly configure OpenVPN?
It is not possible to configure routing to the internal network in any way.
The server looks at three networks
10.14.1.0/24
192.168.0.0/24
10.214.2.128/25
In the server config, I wrote the following
#протокол
proto tcp-server
#порт
port 1194
tls-server
#пул адресов
server 192.168.3.0 255.255.255.0
route 192.168.3.0 255.255.255.0
push "route 192.168.0.0 255.255.255.0"
push "route 10.14.2.0 255.255.255.0"
push "route 10.214.2.128 255.255.255.128"
client-to-client
persist-tun
persist-key
tun-mtu 1500
tun-mtu-extra 32
mssfix 1450
keepalive 10 120
Answer the question
In order to leave comments, you need to log in
Look at this link . I had access to two networks 192.168.0.0 and 192.168.1.0. The corresponding static address (10.8.0.1, 10.8.0.2, 10.8.0.3) was assigned to the server and two clients, and the route to the networks was assigned:
route 192.168.1.0 255.255.255.0 10.8.0.2 1
route 192.168.0.0 255.255.255.0 10.8.0.3 1
See the link for more details.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question