OS Information (server)
Linux my.server.com 4.18.0-147.3.1.el8_1.x86_64 #1 SMP Fri Jan 3 23:55:26 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Server Conf:
port 1194
proto udp
push "redirect-gateway def1 bypass-dhcp"
push "block-outside-dns"
push "dhcp-option DNS 1.1.1.1"
verb 4
dev tun
ca ca.crt
cert my.server.com.crt
dh dh2048.pem
topology subnet
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
client-to-client
keepalive 10 120
auth sha256
cipher AES-256-CBC
persist-key
persist-tun
status openvpn-status.log
verb 4
explicit-exit-notify 1
fast-io
tun-mtu 1500
Server Log:
TITLE,OpenVPN 2.4.9 x86_64-redhat-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Apr 24 2020
TIME,Mon Nov 23 04:34:59 2020,1606106099
HEADER,CLIENT_LIST,Common Name,Real Address,Virtual Address,Virtual IPv6 Address,Bytes Received,Bytes Sent,Connected Since,Connected Since (time_t),Username,Client ID,Peer ID
HEADER,ROUTING_TABLE,Virtual Address,Common Name,Real Address,Last Ref,Last Ref (time_t)
GLOBAL_STATS,Max bcast/mcast queue length,0
END
Client Config:
ca /tmp/openvpncl/ca.crt
cert /tmp/openvpncl/client.crt
key /tmp/openvpncl/client.key
management 127.0.0.1 16
management-log-cache 100
verb 3
mute 3
syslog
writepid /var/run/openvpncl.pid
client
resolv-retry infinite
nobind
persist-key
persist-tun
script-security 2
dev tun1
proto udp4
cipher CHACHA20-POLY1305
auth sha256
data-ciphers AES-128-GCM:AES-256-GCM:AES-128-CBC
remote my.server.com 1194
redirect-private def1
pull-filter ignore "redirect-gateway"
tls-client
tun-mtu 1500
mtu-disc yes
fast-io
tls-auth /tmp/openvpncl/ta.key 1
tls-cipher TLS-RSA-WITH-AES-256-CBC-SHA256
route-up /tmp/openvpncl/route-up.sh
route-pre-down /tmp/openvpncl/route-down.sh
verb 4
Client Log:
20201123 05:34:39 N Connection reset command was pushed by server ('')
20201123 05:34:39 TCP/UDP: Closing socket
20201123 05:34:39 I SIGUSR1[soft server-pushed-connection-reset] received process restarting
20201123 05:34:39 Restart pause 5 second(s)
20201123 05:34:44 W WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
20201123 05:34:44 W NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
20201123 05:34:44 Re-using SSL/TLS context
20201123 05:34:44 Outgoing Control Channel Authentication: Using 256 bit message hash 'SHA256' for HMAC authentication
20201123 05:34:44 Incoming Control Channel Authentication: Using 256 bit message hash 'SHA256' for HMAC authentication
20201123 05:34:44 Control Channel MTU parms [ L:1621 D:1172 EF:78 EB:0 ET:0 EL:3 ]
20201123 05:34:44 Data Channel MTU parms [ L:1621 D:1450 EF:121 EB:406 ET:0 EL:3 ]
20201123 05:34:44 Local Options String (VER=V4): 'V4 dev-type tun link-mtu 1534 tun-mtu 1500 proto UDPv4 keydir 1 cipher CHACHA20-POLY1305 auth [null-digest] keysize 256 tls-auth key-method 2 tls-client'
20201123 05:34:44 Expected Remote Options String (VER=V4): 'V4 dev-type tun link-mtu 1534 tun-mtu 1500 proto UDPv4 keydir 0 cipher CHACHA20-POLY1305 auth [null-digest] keysize 256 tls-auth key-method 2 tls-server'
20201123 05:34:44 I TCP/UDP: Preserving recently used remote address: [AF_INET]XX.XX.XX.XX:1194
20201123 05:34:44 Socket Buffers: R=[180224->180224] S=[180224->180224]
20201123 05:34:44 I UDPv4 link local: (not bound)
20201123 05:34:44 I UDPv4 link remote: [AF_INET]XX.XX.XX.XX:1194
20201123 05:35:15 TLS: Initial packet from [AF_INET]XX.XX.XX.XX:1194 sid=b70e2534 775d4022
20201123 05:35:15 VERIFY OK: depth=0 CN=my.server.com
20201123 05:35:15 W WARNING: 'link-mtu' is used inconsistently local='link-mtu 1534' remote='link-mtu 1569'
20201123 05:35:15 W WARNING: 'auth' is used inconsistently local='auth [null-digest]' remote='auth SHA256'
20201123 05:35:15 Control Channel: TLSv1.3 cipher TLSv1.3 TLS_AES_256_GCM_SHA384 2048 bit RSA
20201123 05:35:15 I [my.server.com] Peer Connection Initiated with [AF_INET]XX.XX.XX.XX:1194
20201123 05:35:16 SENT CONTROL [my.server.com]: 'PUSH_REQUEST' (status=1)
20201123 05:35:16 PUSH: Received control message: 'PUSH_REPLY redirect-gateway def1 bypass-dhcp block-outside-dns dhcp-option DNS 1.1.1.1 route-gateway 10.8.0.1 topology subnet ping 10 ping-restart 120 ifconfig 10.8.0.4 255.255.255.0 peer-id 0 cipher AES-256-GCM'
20201123 05:35:16 Pushed option removed by filter: 'redirect-gateway def1 bypass-dhcp'
20201123 05:35:16 N Options error: Unrecognized option or missing or extra parameter(s) in [PUSH-OPTIONS]:2: block-outside-dns (2.5.0)
20201123 05:35:16 OPTIONS IMPORT: timers and/or timeouts modified
20201123 05:35:16 OPTIONS IMPORT: --ifconfig/up options modified
20201123 05:35:16 OPTIONS IMPORT: route-related options modified
20201123 05:35:16 NOTE: --mute triggered...
20201123 05:35:16 4 variation(s) on previous 3 message(s) suppressed by --mute
20201123 05:35:16 Data Channel: using negotiated cipher 'AES-256-GCM'
20201123 05:35:16 Data Channel MTU parms [ L:1552 D:1450 EF:52 EB:406 ET:0 EL:3 ]
20201123 05:35:16 Outgoing Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
20201123 05:35:16 Incoming Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
20201123 05:35:16 I Preserving previous TUN/TAP instance: tun1
20201123 05:35:16 I Initialization Sequence Completed