Server is the built-in in Firmware:378.56_2 in an AC-68U.
Clients are OpenVPN Connect app in android phone and a tablet.
--These formerly worked (connected). Had not used for awhile.
--Tried, now won't connect.
--Saw that home WAN IP shown in the UI of AC68 for the modem had changed. (This has happened several times before.)
--Simple fix always has been to put the new server IP (remote) in the client ovpn's--everything starts working.
--Does not restore working this time--seems to be a TLS issue of some sort.
Anyone see the fix?
-----------------------------
logs and config
Server log
Nov 22 20:24:09 openvpn[787]: MULTI: multi_create_instance called
Nov 22 20:24:09 openvpn[787]: 192.168.1.227:36393 Re-using SSL/TLS context
Nov 22 20:24:09 openvpn[787]: 192.168.1.227:36393 LZO compression initialized
Nov 22 20:24:09 openvpn[787]: 192.168.1.227:36393 Control Channel MTU parms [ L:1558 D:166 EF:66 EB:0 ET:0 EL:3 ]
Nov 22 20:24:09 openvpn[787]: 192.168.1.227:36393 Data Channel MTU parms [ L:1558 D:1450 EF:58 EB:143 ET:0 EL:3 AF:3/1 ]
Nov 22 20:24:09 openvpn[787]: 192.168.1.227:36393 Local Options String: 'V4,dev-type tun,link-mtu 1558,tun-mtu 1500,proto UDPv4,comp-lzo,cipher AES-256-CBC,auth SHA1,keysize 256,tls-auth,key-method 2,tls-server'
Nov 22 20:24:09 openvpn[787]: 192.168.1.227:36393 Expected Remote Options String: 'V4,dev-type tun,link-mtu 1558,tun-mtu 1500,proto UDPv4,comp-lzo,cipher AES-256-CBC,auth SHA1,keysize 256,tls-auth,key-method 2,tls-client'
Nov 22 20:24:09 openvpn[787]: 192.168.1.227:36393 Local Options hash (VER=V4): '0b024030'
Nov 22 20:24:09 openvpn[787]: 192.168.1.227:36393 Expected Remote Options hash (VER=V4): '5b243d85'
Nov 22 20:24:09 openvpn[787]: 192.168.1.227:36393 TLS: Initial packet from [AF_INET]192.168.1.227:36393, sid=2a25259c e6fca2ca
Nov 22 20:24:11 openvpn[787]: 192.168.1.227:36393 Authenticate/Decrypt packet error: bad packet ID (may be a replay): [ #1 / time = (1479864187) Tue Nov 22 20:23:07 2016 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings
Nov 22 20:24:11 openvpn[787]: 192.168.1.227:36393 TLS Error: incoming packet authentication failed from [AF_INET]192.168.1.227:36393
Nov 22 20:24:13 openvpn[787]: 192.168.1.227:36393 Authenticate/Decrypt packet error: bad packet ID (may be a replay): [ #1 / time = (1479864187) Tue Nov 22 20:23:07 2016 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings
Nov 22 20:24:13 openvpn[787]: 192.168.1.227:36393 TLS Error: incoming packet authentication failed from [AF_INET]192.168.1.227:36393
Nov 22 20:25:09 openvpn[787]: 192.168.1.227:36393 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Nov 22 20:25:09 openvpn[787]: 192.168.1.227:36393 TLS Error: TLS handshake failed
===================
client log hard to get copy--in phone and tablet...no bytes ever received from server
basically it shows try, waiting and retry
===================
client ovpn
client
dev tun
proto udp
remote xxxxxx 1194
float
cipher AES-256-CBC
comp-lzo adaptive
keepalive 15 60
auth-user-pass
ns-cert-type server
<ca>
-----BEGIN CERTIFICATE-----
deleted
-----END CERTIFICATE-----
</ca>
<cert>
-----BEGIN CERTIFICATE-----
deleted
-----END CERTIFICATE-----
</cert>
<key>
-----BEGIN PRIVATE KEY-----
deleted
-----END PRIVATE KEY-----
</key>
<tls-auth>
-----BEGIN OpenVPN Static key V1-----
deleted
-----END OpenVPN Static key V1-----
</tls-auth>
resolv-retry infinite
nobind
Clients are OpenVPN Connect app in android phone and a tablet.
--These formerly worked (connected). Had not used for awhile.
--Tried, now won't connect.
--Saw that home WAN IP shown in the UI of AC68 for the modem had changed. (This has happened several times before.)
--Simple fix always has been to put the new server IP (remote) in the client ovpn's--everything starts working.
--Does not restore working this time--seems to be a TLS issue of some sort.
Anyone see the fix?
-----------------------------
logs and config
Server log
Nov 22 20:24:09 openvpn[787]: MULTI: multi_create_instance called
Nov 22 20:24:09 openvpn[787]: 192.168.1.227:36393 Re-using SSL/TLS context
Nov 22 20:24:09 openvpn[787]: 192.168.1.227:36393 LZO compression initialized
Nov 22 20:24:09 openvpn[787]: 192.168.1.227:36393 Control Channel MTU parms [ L:1558 D:166 EF:66 EB:0 ET:0 EL:3 ]
Nov 22 20:24:09 openvpn[787]: 192.168.1.227:36393 Data Channel MTU parms [ L:1558 D:1450 EF:58 EB:143 ET:0 EL:3 AF:3/1 ]
Nov 22 20:24:09 openvpn[787]: 192.168.1.227:36393 Local Options String: 'V4,dev-type tun,link-mtu 1558,tun-mtu 1500,proto UDPv4,comp-lzo,cipher AES-256-CBC,auth SHA1,keysize 256,tls-auth,key-method 2,tls-server'
Nov 22 20:24:09 openvpn[787]: 192.168.1.227:36393 Expected Remote Options String: 'V4,dev-type tun,link-mtu 1558,tun-mtu 1500,proto UDPv4,comp-lzo,cipher AES-256-CBC,auth SHA1,keysize 256,tls-auth,key-method 2,tls-client'
Nov 22 20:24:09 openvpn[787]: 192.168.1.227:36393 Local Options hash (VER=V4): '0b024030'
Nov 22 20:24:09 openvpn[787]: 192.168.1.227:36393 Expected Remote Options hash (VER=V4): '5b243d85'
Nov 22 20:24:09 openvpn[787]: 192.168.1.227:36393 TLS: Initial packet from [AF_INET]192.168.1.227:36393, sid=2a25259c e6fca2ca
Nov 22 20:24:11 openvpn[787]: 192.168.1.227:36393 Authenticate/Decrypt packet error: bad packet ID (may be a replay): [ #1 / time = (1479864187) Tue Nov 22 20:23:07 2016 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings
Nov 22 20:24:11 openvpn[787]: 192.168.1.227:36393 TLS Error: incoming packet authentication failed from [AF_INET]192.168.1.227:36393
Nov 22 20:24:13 openvpn[787]: 192.168.1.227:36393 Authenticate/Decrypt packet error: bad packet ID (may be a replay): [ #1 / time = (1479864187) Tue Nov 22 20:23:07 2016 ] -- see the man page entry for --no-replay and --replay-window for more info or silence this warning with --mute-replay-warnings
Nov 22 20:24:13 openvpn[787]: 192.168.1.227:36393 TLS Error: incoming packet authentication failed from [AF_INET]192.168.1.227:36393
Nov 22 20:25:09 openvpn[787]: 192.168.1.227:36393 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Nov 22 20:25:09 openvpn[787]: 192.168.1.227:36393 TLS Error: TLS handshake failed
===================
client log hard to get copy--in phone and tablet...no bytes ever received from server
basically it shows try, waiting and retry
===================
client ovpn
client
dev tun
proto udp
remote xxxxxx 1194
float
cipher AES-256-CBC
comp-lzo adaptive
keepalive 15 60
auth-user-pass
ns-cert-type server
<ca>
-----BEGIN CERTIFICATE-----
deleted
-----END CERTIFICATE-----
</ca>
<cert>
-----BEGIN CERTIFICATE-----
deleted
-----END CERTIFICATE-----
</cert>
<key>
-----BEGIN PRIVATE KEY-----
deleted
-----END PRIVATE KEY-----
</key>
<tls-auth>
-----BEGIN OpenVPN Static key V1-----
deleted
-----END OpenVPN Static key V1-----
</tls-auth>
resolv-retry infinite
nobind
Last edited: