[SOLVED] Openvpn in synology

Official client software for OpenVPN Access Server and OpenVPN Cloud.
Post Reply
barryklko
OpenVpn Newbie
Posts: 2
Joined: Fri Apr 30, 2021 6:07 am

[SOLVED] Openvpn in synology

Post by barryklko » Fri Apr 30, 2021 6:14 am

Newbie and did browsed for many document but not relieve my problem.

I setup openvpn in synology NAS and download the .opvn file for my PC. But I cannot connect. I can connect my PC to other openvpn but just cannot connect to synology NAS. Not sure anyone here can help, Thanks.

[This is my client .opvn file]

dev tun
tls-client
remote i type my ip correcly 1194
remote-cert-tls server
pull
proto udp
script-security 2
comp-lzo
reneg-sec 0
cipher AES-256-CBC
auth SHA512
auth-user-pass

<ca>
-----BEGIN CERTIFICATE-----
key inside
-----END CERTIFICATE-----
</ca>

[Whenever I connect, I got error with log, I masked my ip by "i type my ip correctly"]

2021-04-30 13:56:08 WARNING: Compression for receiving enabled. Compression has been used in the past to break encryption. Sent packets are not compressed unless "allow-compression yes" is also set.
2021-04-30 13:56:08 DEPRECATED OPTION: --cipher set to 'AES-256-CBC' but missing in --data-ciphers (AES-256-GCM:AES-128-GCM). Future OpenVPN version will ignore --cipher for cipher negotiations. Add 'AES-256-CBC' to --data-ciphers or change --cipher 'AES-256-CBC' to --data-ciphers-fallback 'AES-256-CBC' to silence this warning.
2021-04-30 13:56:08 OpenVPN 2.5.2 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [LZ4] [PKCS11] [AEAD] built on Apr 21 2021
2021-04-30 13:56:08 Windows version 10.0 (Windows 10 or greater) 64bit
2021-04-30 13:56:08 library versions: OpenSSL 1.1.1k 25 Mar 2021, LZO 2.10
Enter Management Password:
2021-04-30 13:56:13 TCP/UDP: Preserving recently used remote address: [AF_INET]i type my ip correctly:1194
2021-04-30 13:56:13 UDP link local (bound): [AF_INET][undef]:1194
2021-04-30 13:56:13 UDP link remote: [AF_INET]i type my ip correctly:1194
2021-04-30 13:56:13 VERIFY ERROR: depth=0, error=unable to get local issuer certificate: C=CN, ST=GD, L=ShenZhen, O=TP-Link, OU=SOHO-I18N, CN=server, name=EasyRSA, emailAddress=xxxx@xxxx, serial=1
2021-04-30 13:56:13 OpenSSL: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed
2021-04-30 13:56:13 TLS_ERROR: BIO read tls_read_plaintext error
2021-04-30 13:56:13 TLS Error: TLS object -> incoming plaintext read error
2021-04-30 13:56:13 TLS Error: TLS handshake failed
2021-04-30 13:56:13 SIGUSR1[soft,tls-error] received, process restarting
2021-04-30 13:56:18 TCP/UDP: Preserving recently used remote address: [AF_INET]i type my ip correctly:1194
2021-04-30 13:56:18 UDP link local (bound): [AF_INET][undef]:1194
2021-04-30 13:56:18 UDP link remote: [AF_INET]i type my ip correctly:1194
2021-04-30 13:56:18 TLS Error: Unroutable control packet received from [AF_INET]i type my ip correctly:1194 (si=3 op=P_CONTROL_V1)
2021-04-30 13:56:18 VERIFY ERROR: depth=0, error=unable to get local issuer certificate: C=CN, ST=GD, L=ShenZhen, O=TP-Link, OU=SOHO-I18N, CN=server, name=EasyRSA, emailAddress=xxxx@xxxx, serial=1
2021-04-30 13:56:18 OpenSSL: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed
2021-04-30 13:56:18 TLS_ERROR: BIO read tls_read_plaintext error
2021-04-30 13:56:18 TLS Error: TLS object -> incoming plaintext read error
2021-04-30 13:56:18 TLS Error: TLS handshake failed
2021-04-30 13:56:18 SIGUSR1[soft,tls-error] received, process restarting
2021-04-30 13:56:21 SIGTERM[hard,init_instance] received, process exiting

barryklko
OpenVpn Newbie
Posts: 2
Joined: Fri Apr 30, 2021 6:07 am

Re: [SOLVED] Openvpn in synology

Post by barryklko » Fri Apr 30, 2021 8:49 am

Sorry for my big big eye.

I have a router in front of my NAS (openvpn server). That router also equipped with openvpn server function and is ON!!! After I switch OFF the openvpn server from the router, the NAS-openvpn works good.

Thanks all audience for watching and thinking of this.

Post Reply