New Build, No VPN Connection

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Advanced Networking
Author Message
will0772
DD-WRT Novice


Joined: 04 Dec 2018
Posts: 15

PostPosted: Mon Dec 10, 2018 3:49    Post subject: New Build, No VPN Connection Reply with quote
I have recently updated my build from 37305 to 37582 on a TP Link Archer C9 v3 router. I would like to add an HDD, and my older build has some known issues with adding HDD. My PIA VPN was working perfectly on the old build, but I can no longer get a connection, I get "Wait" as seen below:
State
Client: WAIT
Local Address:
Remote Address:

Status
VPN Client Stats
TUN/TAP read bytes 0
TUN/TAP write bytes 0
TCP/UDP read bytes 0
TCP/UDP write bytes 56
Auth read bytes 0
pre-compress bytes 0
post-compress bytes 0
pre-decompress bytes 0
post-decompress bytes 0

Log
Clientlog:
20181209 21:38:03 W NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
20181209 21:38:03 I TCP/UDP: Preserving recently used remote address: [AF_INET]162.216.46.87:1196
20181209 21:38:03 Socket Buffers: R=[180224->180224] S=[180224->180224]
20181209 21:38:03 I UDPv4 link local: (not bound)
20181209 21:38:03 I UDPv4 link remote: [AF_INET]162.216.46.87:1196
20181209 21:39:03 N TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
20181209 21:39:03 N TLS Error: TLS handshake failed
20181209 21:39:03 I SIGUSR1[soft tls-error] received process restarting
20181209 21:39:03 Restart pause 5 second(s)
20181209 21:39:08 W NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
20181209 21:39:08 I TCP/UDP: Preserving recently used remote address: [AF_INET]162.216.46.109:1196
20181209 21:39:08 Socket Buffers: R=[180224->180224] S=[180224->180224]
20181209 21:39:08 I UDPv4 link local: (not bound)
20181209 21:39:08 I UDPv4 link remote: [AF_INET]162.216.46.109:1196
20181209 21:40:08 N TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
20181209 21:40:08 N TLS Error: TLS handshake failed
20181209 21:40:08 I SIGUSR1[soft tls-error] received process restarting
20181209 21:40:08 Restart pause 5 second(s)
20181209 21:40:13 W NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
20181209 21:40:13 I TCP/UDP: Preserving recently used remote address: [AF_INET]162.216.46.36:1196
20181209 21:40:13 Socket Buffers: R=[180224->180224] S=[180224->180224]
20181209 21:40:13 I UDPv4 link local: (not bound)
20181209 21:40:13 I UDPv4 link remote: [AF_INET]162.216.46.36:1196
20181209 21:41:13 N TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
20181209 21:41:13 N TLS Error: TLS handshake failed
20181209 21:41:13 I SIGUSR1[soft tls-error] received process restarting
20181209 21:41:13 Restart pause 5 second(s)
20181209 21:41:18 W NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
20181209 21:41:18 I TCP/UDP: Preserving recently used remote address: [AF_INET]162.216.46.106:1196
20181209 21:41:18 Socket Buffers: R=[180224->180224] S=[180224->180224]
20181209 21:41:18 I UDPv4 link local: (not bound)
20181209 21:41:18 I UDPv4 link remote: [AF_INET]162.216.46.106:1196
20181209 21:42:18 N TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
20181209 21:42:18 N TLS Error: TLS handshake failed
20181209 21:42:18 I SIGUSR1[soft tls-error] received process restarting
20181209 21:42:18 Restart pause 5 second(s)
20181209 21:42:23 W NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
20181209 21:42:23 I TCP/UDP: Preserving recently used remote address: [AF_INET]162.216.46.92:1196
20181209 21:42:23 Socket Buffers: R=[180224->180224] S=[180224->180224]
20181209 21:42:23 I UDPv4 link local: (not bound)
20181209 21:42:23 I UDPv4 link remote: [AF_INET]162.216.46.92:1196
20181209 21:43:23 N TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
20181209 21:43:23 N TLS Error: TLS handshake failed
20181209 21:43:23 I SIGUSR1[soft tls-error] received process restarting
20181209 21:43:23 Restart pause 5 second(s)
20181209 21:43:28 W NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
20181209 21:43:28 I TCP/UDP: Preserving recently used remote address: [AF_INET]162.216.46.103:1196
20181209 21:43:28 Socket Buffers: R=[180224->180224] S=[180224->180224]
20181209 21:43:28 I UDPv4 link local: (not bound)
20181209 21:43:28 I UDPv4 link remote: [AF_INET]162.216.46.103:1196
20181209 21:44:29 N TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
20181209 21:44:29 N TLS Error: TLS handshake failed
20181209 21:44:29 I SIGUSR1[soft tls-error] received process restarting
20181209 21:44:29 Restart pause 5 second(s)
20181209 21:44:34 W NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
20181209 21:44:34 I TCP/UDP: Preserving recently used remote address: [AF_INET]162.216.46.32:1196
20181209 21:44:34 Socket Buffers: R=[180224->180224] S=[180224->180224]
20181209 21:44:34 I UDPv4 link local: (not bound)
20181209 21:44:34 I UDPv4 link remote: [AF_INET]162.216.46.32:1196
20181209 21:45:35 N TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
20181209 21:45:35 N TLS Error: TLS handshake failed
20181209 21:45:35 I SIGUSR1[soft tls-error] received process restarting
20181209 21:45:35 Restart pause 5 second(s)
20181209 21:45:40 W NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
20181209 21:45:40 I TCP/UDP: Preserving recently used remote address: [AF_INET]162.216.46.167:1196
20181209 21:45:40 Socket Buffers: R=[180224->180224] S=[180224->180224]
20181209 21:45:40 I UDPv4 link local: (not bound)
20181209 21:45:40 I UDPv4 link remote: [AF_INET]162.216.46.167:1196
20181209 21:46:40 N TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
20181209 21:46:40 N TLS Error: TLS handshake failed
20181209 21:46:40 I SIGUSR1[soft tls-error] received process restarting
20181209 21:46:40 Restart pause 5 second(s)
20181209 21:46:45 W NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
20181209 21:46:45 I TCP/UDP: Preserving recently used remote address: [AF_INET]162.216.46.17:1196
20181209 21:46:45 Socket Buffers: R=[180224->180224] S=[180224->180224]
20181209 21:46:45 I UDPv4 link local: (not bound)
20181209 21:46:45 I UDPv4 link remote: [AF_INET]162.216.46.17:1196
20181209 21:47:45 N TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
20181209 21:47:45 N TLS Error: TLS handshake failed
20181209 21:47:45 I SIGUSR1[soft tls-error] received process restarting
20181209 21:47:45 Restart pause 5 second(s)
20181209 21:47:50 W NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
20181209 21:47:50 I TCP/UDP: Preserving recently used remote address: [AF_INET]162.216.46.60:1196
20181209 21:47:50 Socket Buffers: R=[180224->180224] S=[180224->180224]
20181209 21:47:50 I UDPv4 link local: (not bound)
20181209 21:47:50 I UDPv4 link remote: [AF_INET]162.216.46.60:1196
20181209 21:48:13 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20181209 21:48:13 D MANAGEMENT: CMD 'state'
20181209 21:48:13 MANAGEMENT: Client disconnected
20181209 21:48:13 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20181209 21:48:13 D MANAGEMENT: CMD 'state'
20181209 21:48:13 MANAGEMENT: Client disconnected
20181209 21:48:13 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20181209 21:48:13 D MANAGEMENT: CMD 'state'
20181209 21:48:13 MANAGEMENT: Client disconnected
20181209 21:48:13 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20181209 21:48:13 D MANAGEMENT: CMD 'status 2'
20181209 21:48:13 MANAGEMENT: Client disconnected
20181209 21:48:13 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:16
20181209 21:48:13 D MANAGEMENT: CMD 'log 500'
19691231 18:00:00


Help



Message from Syslog:
Dec 10 03:28:37 DD-WRT daemon.err openvpn[1249]: TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Dec 10 03:28:37 DD-WRT daemon.err openvpn[1249]: TLS Error: TLS handshake failed

Any suggestions would be appeciated.
Sponsor
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 4687
Location: Netherlands

PostPosted: Mon Dec 10, 2018 11:05    Post subject: Reply with quote
Something in your setup is wrong, maybe related to network settings.
I think you are using port 1196, try port 1198

You have a new router has anything changed in your network setup?

Post PIA settings (screenshot of Service/VPN page, leave out password)

The PIA guide is quite good: https://www.privateinternetaccess.com/helpdesk/guides/routers/dd-wrt-3/dd-wrt-openvpn-setup-2

_________________
Routers:Netgear R7800, Netgear R6400v1, Netgear R6400v2, Linksys EA6900 (XvortexCFE), Linksys E2000 (converted WRT320N), WRT54GS v1.
Install guide Linksys EA6900: http://www.dd-wrt.com/phpBB2/viewtopic.php?t=291230
OpenVPN Policy Based Routing guide: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=321686
Install guide R6400v2:http://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
OpenVPN Server Setup:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=318795
Install guide R7800: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Wireguard Setup guide:https://forum.dd-wrt.com/phpBB2/viewtopic.php?p=1183135
will0772
DD-WRT Novice


Joined: 04 Dec 2018
Posts: 15

PostPosted: Tue Dec 11, 2018 0:56    Post subject: Reply with quote
Thank you Sir. It was the port.
will0772
DD-WRT Novice


Joined: 04 Dec 2018
Posts: 15

PostPosted: Sat Jul 20, 2019 0:23    Post subject: Same Router, Reset Router Reply with quote
I am having he same issue. I moved, the router would not pick up information from the cable modem, so I reset the router. Now adding VPN, erroe or connection when viewing the status page. Any thoughts? I followed the guide but I must be missing something.
bushant
DD-WRT Guru


Joined: 18 Nov 2015
Posts: 1315
Location: Indiana

PostPosted: Sat Jul 20, 2019 1:18    Post subject: Reply with quote
When you reset you may have enabled Shortcut Forwarding Engine.
That probably does not work with Policy based Routing if you are still on that older build. (Or new ones lately)

If so try disabling that on Setup->Basic Setup.
May need to reboot after.

Hope this helps.

_________________
SUPPORTED DEVICES -- DON'T USE ROUTER DATABASE!
--IMPORTANT UPGRADE INFORMATION--STUBBY DoT install guide
Qualcomm-Atheros:
R7800 x2 BS std GW AP & GW WDS AP -- R7500V2 BS std WDS STA-- WZR-HP-AG300H BS std WDS STA
WNDR3700v4 BS std WDS STA-- Nanostation M2 AirOS-- LocoM2 AirOS
MikroTik SXT R LTE RouterOS
Broadcom:
R6200v2 41813std TFTP R6250.chk WLAN Repeater Archer C9 v1 OEM WAP

DDWRT Policy Based Routing Guide-1.03 by egc
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Advanced Networking All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum