P
P
Pro100MoNEy2020-02-04 18:59:59
openvpn
Pro100MoNEy, 2020-02-04 18:59:59

Why files are not copied via openvpn?

Hello, I want to be on my home network from an android smartphone via openvpn. Installed openvpn, generated keys, connected, in the home network, a router with the address 192.168.1.1, a couple of computers are connected to it. The server was installed on a computer with the address 192.168.1.2.
Server config

port 1234
proto udp
dev tun
push "redirect-getaway def1"
dev-node "VPN Server"
client-to-client
dh "C:\\Program Files\\OpenVPN\\ssl\\dh2048.pem"
ca "C:\\Program Files\\OpenVPN\\ssl\\ca.crt"
cert "C:\\Program Files\\OpenVPN\\ssl\\cert.crt"
key "C:\\Program Files\\OpenVPN\\ssl\\cert.key"
server 192.168.10.0 255.255.255.0
max-clients 32
keepalive 10 120
push "route 192.168.1.0 255.255.255.0"
comp-lzo
persist-key
persist-tun
cipher DES-CBC
status "C:\\Program Files\\OpenVPN\\log\\status.log"
log "C:\\Program Files\\OpenVPN\\log\\openvpn.log"
verb 4
mute 20

Client config
. 
client
resolv-retry infinite
nobind
remote xx.xx.xx.xx 1234
proto udp
dev tap
comp-lzo
ca ca.crt
cert client1.crt
key client1.key
dh dh2048.pem
float
cipher DES-CBC
keepalive 10 120
persist-key
persist-tun
verb 0

As a result, from a smartphone, I go to 192.168.10.1 and see a computer 192.168.1.2, I also see it by entering the address 192.168.1.2, and I see other computers on the network with their addresses, I can go in and get a list of files, vnc works at 192.168.1.2 but when I try to copy a file from 192.168.1.2 from the phone, nothing is copied, while everything is fine at 192.168.10.1, so I can’t copy anything from other computers. What did I forget? Maybe the routes need to be registered somewhere? All computers on windows. Please tell me where to dig.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
H
hint000, 2020-02-05
@Pro100MoNEy

Maybe the routes need to be registered somewhere?
On the router, register a route to the network 192.168.10.0 through the gateway 192.168.1.2

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question