I am using Synology NAS as a OpenVPN server and use have shared folders on my Synology.
Connecting my Windows 11 laptop with OpenVPN client is successfull, i can access to my local network and access speed it alright.
However, when i ttry to access / browse my shared folders hosted by the Synology NAS it most of the time its fails ( something like a timeout), no way to connect access the shared to the folders.
Rarely, i can browse the shared folders but accessing a such tiny TXT file 100kb TXT file takes ages.
Note onyl port 1194 is open and redirected to Synology local IP address : 192.168.0.10
Here is attached my config : ( server ip and certificate are not displayed for security purposes )
Can you please help me on that issue ?
Many thanks,
dev tun
tls-client
remote myserverIP 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
reneg-sec 0
data-ciphers-fallback 'AES-256-CBC'
auth SHA256
auth-user-pass
<ca>
-----BEGIN CERTIFICATE-----
XXXXXXXXXXXXXX
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
XXXXXXXXXXXXXX
-----END CERTIFICATE-----
</ca>
And this is the connection log :
Code: Select all
2024-03-07 10:46:12 OpenVPN 2.5.6 Windows-MSVC [SSL (OpenSSL)] [LZO] [LZ4] [PKCS11] [AEAD] built on Mar 16 2022
2024-03-07 10:46:12 Windows version 10.0 (Windows 10 or greater) 64bit
2024-03-07 10:46:12 library versions: OpenSSL 1.1.1n 15 Mar 2022, LZO 2.10
2024-03-07 10:46:13 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
2024-03-07 10:46:14 TCP/UDP: Preserving recently used remote address: [AF_INET]xx.xx.xx.xx:1194
2024-03-07 10:46:14 UDP link local (bound): [AF_INET][undef]:1194
2024-03-07 10:46:14 UDP link remote: [AF_INET]xx.xx.xx.xx:1194
2024-03-07 10:46:14 [lcoulon.synology.me] Peer Connection Initiated with [AF_INET]xx.xx.xx.xx:1194
2024-03-07 10:46:15 open_tun
2024-03-07 10:46:15 tap-windows6 device [Connexion au réseau local] opened
2024-03-07 10:46:15 Notified TAP-Windows driver to set a DHCP IP/netmask of 192.168.1.6/255.255.255.252 on interface {34690177-FB28-49B7-XXXX-XXXXXX3BXXXX} [DHCP-serv: 192.168.1.5, lease-time: 31536000]
2024-03-07 10:46:15 Successful ARP Flush on interface [9] {34690177-FB28-49B7-XXXX-XXXXXX3BXXXX}
2024-03-07 10:46:15 IPv4 MTU set to 1500 on interface 9 using service