OPENVPN can't access files

Currently reading
OPENVPN can't access files

Hello, I am struggling with finding a way to connect into my storage from external network and i feel like i hit a wall
-VPN connects but when I try to access the storage through \\192.168.1.142 returns "Windows Cannot access \\192.168.1.142"
-When I'm connected to VPN If I ping 192.168.1.142(nas IP) it returns Request Time Out
-I can access the DDNS name while I am connected to VPN, doesn't work for internal IPS only
-Firewall is disabled on NAS also on the machine I try to connect from


dev tun
tls-client

remote test.synology.me 1194

# The "float" tells OpenVPN to accept authenticated packets from any address,
# not only the address which was specified in the --remote option.
# This is useful when you are connecting to a peer which holds a dynamic address
# such as a dial-in user or DHCP client.
# (Please refer to the manual of OpenVPN for more information.)

#float

# If redirect-gateway is enabled, the client will redirect it's
# default network gateway through the VPN.
# It means the VPN connection will firstly connect to the VPN Server
# and then to the internet.
# (Please refer to the manual of OpenVPN for more information.)

redirect-gateway def1

# dhcp-option DNS: To set primary domain name server address.
# Repeat this option to set secondary DNS server addresses.

#dhcp-option DNS DNS_IP_ADDRESS

pull

# If you want to connect by Server's IPv6 address, you should use
# "proto udp6" in UDP mode or "proto tcp6-client" in TCP mode
proto udp

script-security 2


comp-lzo

reneg-sec 0

cipher AES-256-CBC

auth SHA512

auth-user-pass
<ca>
-----BEGIN CERTIFICATE-----
XX
-----END CERTIFICATE-----

</ca>

And i made static routing from NAS, my router doesn't seem to have that Option in the interface, i feel that's a possible issue
1628101041772.png
 
Do you have any firewall at all? Apart from the one on your nas that is turned off? Is this vpn server on the nas or the router?

Sounds like your VPN subnet has no allowed access to your lan subnet. Allow that on any active firewall and try again.
 
If it’s the NAS VPN. Take a look at this resource, you might find something useful…
 

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Similar threads

A couple of weeks ago I updated my RT2600ac to SRM 1.2.4-8081 Update 2. Over the course of a week or so, I...
Replies
0
Views
3,692
My apologies to all. Recently had to rebuild my PC and reset my phone. Just deleted everything from...
Replies
10
Views
807
I have WireGuard running on my router and can access my local LAN and Synology from outside and browse the...
Replies
0
Views
465
  • Question
An update for the next victim after finally getting RT6600ax OpenVPN client to establish a tunnel to a...
Replies
1
Views
646
Oh I see it now. Sorry again I'm new here.
Replies
3
Views
709
Have you made sure that the Synology firewall has a rule to allow the IP range of the VPN through? ie...
Replies
20
Views
3,538

Welcome to SynoForum.com!

SynoForum.com is an unofficial Synology forum for NAS owners and enthusiasts.

Registration is free, easy and fast!

Back
Top