Hereafter my configuration /logs :
#/usr/syno/etc/packages/VNPCenter/openvpn/openvpn.conf
push "route 192.168.1.0 255.255.255.0"
push "route 10.8.0.0 255.255.255.0"
dev tun
management 127.0.0.1 1195
server 10.8.0.0 255.255.255.0
dh /var/packages/VPNCenter/target/etc/openvpn/keys/dh3072.pem
ca /var/packages/VPNCenter/target/etc/openvpn/keys/ca.crt
cert /var/packages/VPNCenter/target/etc/openvpn/keys/server.crt
key /var/packages/VPNCenter/target/etc/openvpn/keys/server.key
max-clients 5
persist-tun
persist-key
verb 3
#log-append /var/log/openvpn.log
keepalive 10 60
reneg-sec 0
plugin /var/packages/VPNCenter/target/lib/radiusplugin.so /var/packages/VPNCenter/target/etc/openvpn/radiusplugin.cnf
client-cert-not-required
username-as-common-name
duplicate-cn
status /tmp/ovpn_status_2_result 30
status-version 2
proto udp6
port 1194
cipher AES-256-CBC
auth SHA512
Server log in GUI:
Information 2020/01/14 21:38:12 OpenVPN JosquinVPN Disconnected from [178.197.233.10] as [10.8.0.6].
Information 2020/01/14 21:36:12 OpenVPN JosquinVPN Connected from [178.197.233.10] as [10.8.0.6].
Information 2020/01/14 21:26:20 OpenVPN JosquinVPN Disconnected from [178.197.233.10] as [10.8.0.10].
Information 2020/01/14 21:25:51 OpenVPN JosquinVPN Disconnected from [178.197.233.10] as [10.8.0.6].
Information 2020/01/14 21:24:20 OpenVPN JosquinVPN Connected from [178.197.233.10] as [10.8.0.10].
Information 2020/01/14 21:23:16 OpenVPN JosquinVPN Connected from [178.197.233.10] as [10.8.0.6].
Information 2020/01/14 21:14:12 OpenVPN JosquinVPN Disconnected from [178.197.233.10] as [10.8.0.6].
Information 2020/01/14 21:13:08 OpenVPN JosquinVPN Disconnected from [178.197.233.10] as [10.8.0.14].
Information 2020/01/14 21:12:11 OpenVPN JosquinVPN Connected from [178.197.233.10] as [10.8.0.6].
Information 2020/01/14 21:11:53 OpenVPN JosquinVPN Disconnected from [178.197.233.10] as [10.8.0.10].
Information 2020/01/14 21:11:25 OpenVPN JosquinVPN Disconnected from [178.197.233.10] as [10.8.0.6].
Information 2020/01/14 21:11:07 OpenVPN JosquinVPN Connected from [178.197.233.10] as [10.8.0.14].
Information 2020/01/14 21:09:53 OpenVPN JosquinVPN Connected from [178.197.233.10] as [10.8.0.10].
Information 2020/01/14 21:09:42 OpenVPN JosquinVPN Disconnected from [178.197.233.10] as [10.8.0.10].
Information 2020/01/14 21:08:50 OpenVPN JosquinVPN Connected from [178.197.233.10] as [10.8.0.6].
Information 2020/01/14 21:08:37 OpenVPN JosquinVPN Disconnected from [178.197.233.10] as [10.8.0.6].
Information 2020/01/14 21:07:42 OpenVPN JosquinVPN Connected from [178.197.233.10] as [10.8.0.10].
Information 2020/01/14 21:07:32 OpenVPN JosquinVPN Disconnected from [178.197.233.10] as [10.8.0.10].
Information 2020/01/14 21:06:37 OpenVPN JosquinVPN Connected from [178.197.233.10] as [10.8.0.6].
Information 2020/01/14 21:06:28 OpenVPN JosquinVPN Disconnected from [178.197.233.10] as [10.8.0.6].
Information 2020/01/14 21:05:32 OpenVPN JosquinVPN Connected from [178.197.233.10] as [10.8.0.10].
Information 2020/01/14 21:05:20 OpenVPN JosquinVPN Disconnected from [178.197.233.10] as [10.8.0.14].
Information 2020/01/14 21:04:27 OpenVPN JosquinVPN Connected from [178.197.233.10] as [10.8.0.6].
Information 2020/01/14 21:04:11 OpenVPN JosquinVPN Disconnected from [178.197.233.10] as [10.8.0.10].
Information 2020/01/14 21:03:35 OpenVPN JosquinVPN Disconnected from [178.197.233.10] as [10.8.0.6].
Information 2020/01/14 21:03:20 OpenVPN JosquinVPN Connected from [178.197.233.10] as [10.8.0.14].
Information 2020/01/14 21:02:11 OpenVPN JosquinVPN Connected from [178.197.233.10] as [10.8.0.10].
Information 2020/01/14 21:02:01 OpenVPN JosquinVPN Disconnected from [178.197.233.10] as [10.8.0.10].
Information 2020/01/14 21:01:06 OpenVPN JosquinVPN Connected from [178.197.233.10] as [10.8.0.6].
Information 2020/01/14 21:00:55 OpenVPN JosquinVPN Disconnected from [178.197.233.10] as [10.8.0.6].
Information 2020/01/14 21:00:01 OpenVPN JosquinVPN Connected from [178.197.233.10] as [10.8.0.10].
Information 2020/01/14 20:59:51 OpenVPN JosquinVPN Disconnected from [178.197.233.10] as [10.8.0.10].
Information 2020/01/14 20:58:55 OpenVPN JosquinVPN Connected from [178.197.233.10] as [10.8.0.6].
Information 2020/01/14 20:58:45 OpenVPN JosquinVPN Disconnected from [178.197.233.10] as [10.8.0.14].
Information 2020/01/14 20:57:54 OpenVPN JosquinVPN Disconnected from [178.197.233.10] as [10.8.0.6].
Information 2020/01/14 20:57:50 OpenVPN JosquinVPN Connected from [178.197.233.10] as [10.8.0.10].
Information 2020/01/14 20:56:46 OpenVPN JosquinVPN Disconnected from [178.197.233.10] as [10.8.0.10].
Information 2020/01/14 20:56:45 OpenVPN JosquinVPN Connected from [178.197.233.10] as [10.8.0.14].
Information 2020/01/14 20:55:40 OpenVPN JosquinVPN Connected from [178.197.233.10] as [10.8.0.6].
Information 2020/01/14 20:55:39 OpenVPN JosquinVPN Disconnected from [178.197.233.10] as [10.8.0.6].
Information 2020/01/14 20:54:35 OpenVPN JosquinVPN Connected from [178.197.233.10] as [10.8.0.10].
Information 2020/01/14 20:54:26 OpenVPN JosquinVPN Disconnected from [178.197.233.10] as [10.8.0.14].
Information 2020/01/14 20:53:31 OpenVPN JosquinVPN Connected from [178.197.233.10] as [10.8.0.6].
Information 2020/01/14 20:53:22 OpenVPN JosquinVPN Disconnected from [178.197.233.10] as [10.8.0.10].
Information 2020/01/14 20:52:29 OpenVPN JosquinVPN Disconnected from [178.197.233.10] as [10.8.0.6].
Information 2020/01/14 20:52:26 OpenVPN JosquinVPN Connected from [178.197.233.10] as [10.8.0.14].
Information 2020/01/14 20:51:22 OpenVPN JosquinVPN Connected from [178.197.233.10] as [10.8.0.10].
Information 2020/01/14 20:51:13 OpenVPN JosquinVPN Disconnected from [178.197.233.10] as [10.8.0.10].
Information 2020/01/14 20:50:18 OpenVPN JosquinVPN Connected from [178.197.233.10] as [10.8.0.6].
Information 2020/01/14 20:50:09 OpenVPN JosquinVPN Disconnected from [178.197.233.10] as [10.8.0.6].
Information 2020/01/14 20:49:13 OpenVPN JosquinVPN Connected from [178.197.233.10] as [10.8.0.10].
Information 2020/01/14 20:49:04 OpenVPN JosquinVPN Disconnected from [178.197.233.10] as [10.8.0.14].
Information 2020/01/14 20:48:19 OpenVPN JosquinVPN Disconnected from [178.197.233.10] as [10.8.0.10].
Information 2020/01/14 20:48:09 OpenVPN JosquinVPN Connected from [178.197.233.10] as [10.8.0.6].
Information 2020/01/14 20:47:04 OpenVPN JosquinVPN Connected from [178.197.233.10] as [10.8.0.14].
Information 2020/01/14 20:47:04 OpenVPN JosquinVPN Disconnected from [178.197.233.10] as [10.8.0.6].
Information 2020/01/14 20:46:00 OpenVPN JosquinVPN Connected from [178.197.233.10] as [10.8.0.10].
Information 2020/01/14 20:44:55 OpenVPN JosquinVPN Connected from [178.197.233.10] as [10.8.0.6].
Information 2020/01/14 20:37:03 OpenVPN SYSTEM Server was started.
Information 2020/01/14 20:36:57 OpenVPN SYSTEM Server was stopped.
dev tun
tls-client
remote *****.com 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 8.8.8.8
dhcp-option WINS 192.168.1.106
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 BF-CBC
auth SHA512
auth-user-pass
<ca>
-----BEGIN CERTIFICATE-----
Client log:
21:11:03.560 -- ----- OpenVPN Start -----
21:11:03.561 -- EVENT: CORE_THREAD_ACTIVE
21:11:03.564 -- OpenVPN core 3.git::728733ae:Release android arm64 64-bit PT_PROXY built on Aug 14 2019 14:13:26
21:11:03.573 -- Frame=512/2048/512 mssfix-ctrl=1250
21:11:03.574 -- UNUSED OPTIONS
1 [tls-client]
7 [pull]
9 [script-security] [2]
21:11:03.574 -- EVENT: RESOLVE
21:11:03.581 -- Contacting ***.***.***.***:1194 via UDP
21:11:03.581 -- EVENT: WAIT
21:11:03.588 -- Connecting to [*****.com]:1194 (***.***.***.***) via UDPv4
21:11:03.638 -- EVENT: CONNECTING
21:11:03.641 -- Tunnel Options:V4,dev-type tun,link-mtu 1586,tun-mtu 1500,proto UDPv4,comp-lzo,cipher BF-CBC,auth SHA512,keysize 128,key-method 2,tls-client
21:11:03.642 -- Creds: Username/Password
21:11:03.642 -- Peer Info:
IV_GUI_VER=OC30Android
IV_VER=3.git::728733ae:Release
IV_PLAT=android
IV_NCP=2
IV_TCPNL=1
IV_PROTO=2
IV_LZO_STUB=1
IV_COMP_STUB=1
IV_COMP_STUBv2=1
IV_BS64DL=1
21:11:04.361 -- VERIFY OK : depth=1
cert. version : 3
serial number : 9F:25:93:A3:B2:FB:32:EF
issuer name : C=CH, ST=*****, L=*****, O=na, OU=na, CN=NA, emailAddress=*****@gmail.com
subject name : C=CH, ST=*****, L=*****, O=na, OU=na, CN=NA, emailAddress=*****@gmail.com
issued on : 2016-02-10 21:19:13
expires on : 2026-02-07 21:19:13
signed using : RSA with SHA-256
RSA key size : 2048 bits
basic constraints : CA=true, max_pathlen=0
subject alt name :
cert. type : SSL CA
21:11:04.362 -- VERIFY OK : depth=0
cert. version : 3
serial number : 13:86:96:58:21:B1:55
issuer name : C=CH, ST=*****, L=*****, O=na, OU=na, CN=NA, emailAddress=*****@gmail.com
subject name : C=CH, ST=*****, L=*****, O=na, OU=na, CN=*****.com, emailAddress=*****@gmail.com
issued on : 2016-02-10 21:19:17
expires on : 2026-02-07 21:19:17
signed using : RSA with SHA-256
RSA key size : 2048 bits
subject alt name :
cert. type : SSL Server
21:11:05.916 -- SSL Handshake: TLSv1.2/TLS-DHE-RSA-WITH-AES-256-GCM-SHA384
21:11:05.917 -- Session is ACTIVE
21:11:05.917 -- EVENT: GET_CONFIG
21:11:05.920 -- Sending PUSH_REQUEST to server...
21:11:05.952 -- OPTIONS:
0 [redirect-gateway] [def1]
1 [dhcp-option] [DNS] [8.8.8.8]
2 [dhcp-option] [WINS] [192.168.1.106]
3 [route] [192.168.1.0] [255.255.255.0]
4 [route] [10.8.0.0] [255.255.255.0]
5 [route] [10.8.0.1]
6 [topology] [net30]
7 [ping] [10]
8 [ping-restart] [60]
9 [ifconfig] [10.8.0.14] [10.8.0.13]
21:11:05.953 -- PROTOCOL OPTIONS:
cipher: BF-CBC
digest: SHA512
compress: LZO_STUB
peer ID: -1
21:11:05.953 -- EVENT: ASSIGN_IP
21:11:05.957 -- exception parsing dhcp-option: [dhcp-option] [WINS] [192.168.1.106] : tun_prop_dhcp_option_error: tun_builder_add_wins_server failed
21:11:06.007 -- Connected via tun
21:11:06.007 -- Per-Key Data Limit: 48000000/48000000
21:11:06.008 -- LZO-ASYM init swap=0 asym=1
21:11:06.008 -- Comp-stub init swap=0
21:11:06.009 -- EVENT: CONNECTED info='JosquinVPN@*****.com:1194 (***.***.***.***) via /UDPv4 on tun/10.8.0.14/ gw=[10.8.0.13/]'
21:12:05.952 -- Session invalidated: KEEPALIVE_TIMEOUT
21:12:05.955 -- Client terminated, restarting in 2000 ms...