Answer the question
In order to leave comments, you need to log in
How to set up openVPN to log into your home network?
Given:
VPS on the Internet, where the openVPN Server is up
At home, the openVPN Client is up on the router They
see each other and ping in both directions.
Settings on the client
client
tls-client
tls-auth ta.key 1
auth SHA1
dev tun
proto udp
remote 185.188.zzz.zzz 1194
cipher AES-256-CBC
resolv-retry infinite
nobind
persist-key
persist-tun
ns-cert-type server
verb 3
tun-mtu 1500
tun-mtu-extra 32
mssfix 1450
ping-restart 60
ping 10
port 1194
proto udp
dev tun
ca ca.crt
cert server.crt
key server.key
dh dh2048.pem
tls-server
tls-auth ta.key 0
server 10.10.10.0 255.255.255.0
cipher AES-256-CBC
status openvpn-status.log
log openvpn.log
duplicate-cn
push "route 10.10.10.0 255.255.255.0 10.10.10.1"
verb 3
mute 20
max-clients 15
keepalive 10 120
client-to-client
persist-key
persist-tun
route-gateway 10.10.10.1
topology subnet
Answer the question
In order to leave comments, you need to log in
You do not have routes to the 192.168 subnet in the client settings, on the server I think the same thing.
You need to manually add the route on the server, and on the client - as you wish. I connect to work with a config, where the routes are immediately registered, and they are added themselves:
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question