Jump to content

Greetings,

I got a new router today, the nighthawk r7000.Ive set it up with VPN Services enabled and changed my DNS to dynamic.
I got a few config files that I had to import into OpenVPN and once I did that it automaticly connects to my network, i am currently testing at my gf's place but it doesnt see to work

log:

Sun Oct 11 21:36:18 2015 Local Options hash (VER=V4): 'b498be7c'
Sun Oct 11 21:36:18 2015 Expected Remote Options hash (VER=V4): '26e19fc0'
Sun Oct 11 21:36:18 2015 UDPv4 link local: [undef]
Sun Oct 11 21:36:18 2015 UDPv4 link remote: [AF_INET]94.211.143.66:12974
Sun Oct 11 21:36:18 2015 MANAGEMENT: >STATE:1444592178,WAIT,,,
Sun Oct 11 21:37:18 2015 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Sun Oct 11 21:37:18 2015 TLS Error: TLS handshake failed
Sun Oct 11 21:37:18 2015 TCP/UDP: Closing socket
Sun Oct 11 21:37:18 2015 SIGUSR1[soft,tls-error] received, process restarting
Sun Oct 11 21:37:18 2015 MANAGEMENT: >STATE:1444592238,RECONNECTING,tls-error,,
Sun Oct 11 21:37:18 2015 Restart pause, 2 second(s)
Sun Oct 11 21:37:20 2015 WARNING: No server certificate verification method has been enabled.  See http://openvpn.net/howto.html#mitm for more info.
Sun Oct 11 21:37:20 2015 Re-using SSL/TLS context
Sun Oct 11 21:37:20 2015 LZO compression initialized
Sun Oct 11 21:37:20 2015 Control Channel MTU parms [ L:1590 D:138 EF:38 EB:0 ET:0 EL:3 ]
Sun Oct 11 21:37:20 2015 Socket Buffers: R=[65536->65536] S=[65536->65536]
Sun Oct 11 21:37:20 2015 MANAGEMENT: >STATE:1444592240,RESOLVE,,,
Sun Oct 11 21:37:20 2015 Data Channel MTU parms [ L:1590 D:1450 EF:58 EB:143 ET:32 EL:3 AF:3/1 ]
Sun Oct 11 21:37:20 2015 Local Options String: 'V4,dev-type tap,link-mtu 1590,tun-mtu 1532,proto UDPv4,comp-lzo,cipher AES-128-CBC,auth SHA1,keysize 128,key-method 2,tls-client'
Sun Oct 11 21:37:20 2015 Expected Remote Options String: 'V4,dev-type tap,link-mtu 1590,tun-mtu 1532,proto UDPv4,comp-lzo,cipher AES-128-CBC,auth SHA1,keysize 128,key-method 2,tls-server'
Sun Oct 11 21:37:20 2015 Local Options hash (VER=V4): 'b498be7c'
Sun Oct 11 21:37:20 2015 Expected Remote Options hash (VER=V4): '26e19fc0'
Sun Oct 11 21:37:20 2015 UDPv4 link local: [undef]
Sun Oct 11 21:37:20 2015 UDPv4 link remote: [AF_INET]94.211.143.66:12974
Sun Oct 11 21:37:20 2015 MANAGEMENT: >STATE:1444592240,WAIT,,,
Sun Oct 11 21:38:20 2015 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Sun Oct 11 21:38:20 2015 TLS Error: TLS handshake failed
Sun Oct 11 21:38:20 2015 TCP/UDP: Closing socket
Sun Oct 11 21:38:20 2015 SIGUSR1[soft,tls-error] received, process restarting
Sun Oct 11 21:38:20 2015 MANAGEMENT: >STATE:1444592300,RECONNECTING,tls-error,,
Sun Oct 11 21:38:20 2015 Restart pause, 2 second(s)
Sun Oct 11 21:38:22 2015 WARNING: No server certificate verification method has been enabled.  See http://openvpn.net/howto.html#mitm for more info.
Sun Oct 11 21:38:22 2015 Re-using SSL/TLS context
Sun Oct 11 21:38:22 2015 LZO compression initialized
Sun Oct 11 21:38:22 2015 Control Channel MTU parms [ L:1590 D:138 EF:38 EB:0 ET:0 EL:3 ]
Sun Oct 11 21:38:22 2015 Socket Buffers: R=[65536->65536] S=[65536->65536]
Sun Oct 11 21:38:22 2015 MANAGEMENT: >STATE:1444592302,RESOLVE,,,
Sun Oct 11 21:38:22 2015 Data Channel MTU parms [ L:1590 D:1450 EF:58 EB:143 ET:32 EL:3 AF:3/1 ]
Sun Oct 11 21:38:22 2015 Local Options String: 'V4,dev-type tap,link-mtu 1590,tun-mtu 1532,proto UDPv4,comp-lzo,cipher AES-128-CBC,auth SHA1,keysize 128,key-method 2,tls-client'
Sun Oct 11 21:38:22 2015 Expected Remote Options String: 'V4,dev-type tap,link-mtu 1590,tun-mtu 1532,proto UDPv4,comp-lzo,cipher AES-128-CBC,auth SHA1,keysize 128,key-method 2,tls-server'
Sun Oct 11 21:38:22 2015 Local Options hash (VER=V4): 'b498be7c'
Sun Oct 11 21:38:22 2015 Expected Remote Options hash (VER=V4): '26e19fc0'
Sun Oct 11 21:38:22 2015 UDPv4 link local: [undef]
Sun Oct 11 21:38:22 2015 UDPv4 link remote: [AF_INET]94.211.143.66:12974
Sun Oct 11 21:38:22 2015 MANAGEMENT: >STATE:1444592302,WAIT,,,
Sun Oct 11 21:39:22 2015 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Sun Oct 11 21:39:22 2015 TLS Error: TLS handshake failed
Sun Oct 11 21:39:22 2015 TCP/UDP: Closing socket
Sun Oct 11 21:39:22 2015 SIGUSR1[soft,tls-error] received, process restarting
Sun Oct 11 21:39:22 2015 MANAGEMENT: >STATE:1444592362,RECONNECTING,tls-error,,
Sun Oct 11 21:39:22 2015 Restart pause, 2 second(s)
Sun Oct 11 21:39:24 2015 WARNING: No server certificate verification method has been enabled.  See http://openvpn.net/howto.html#mitm for more info.
Sun Oct 11 21:39:24 2015 Re-using SSL/TLS context
Sun Oct 11 21:39:24 2015 LZO compression initialized
Sun Oct 11 21:39:24 2015 Control Channel MTU parms [ L:1590 D:138 EF:38 EB:0 ET:0 EL:3 ]
Sun Oct 11 21:39:24 2015 Socket Buffers: R=[65536->65536] S=[65536->65536]
Sun Oct 11 21:39:24 2015 MANAGEMENT: >STATE:1444592364,RESOLVE,,,
Sun Oct 11 21:39:24 2015 Data Channel MTU parms [ L:1590 D:1450 EF:58 EB:143 ET:32 EL:3 AF:3/1 ]
Sun Oct 11 21:39:24 2015 Local Options String: 'V4,dev-type tap,link-mtu 1590,tun-mtu 1532,proto UDPv4,comp-lzo,cipher AES-128-CBC,auth SHA1,keysize 128,key-method 2,tls-client'
Sun Oct 11 21:39:24 2015 Expected Remote Options String: 'V4,dev-type tap,link-mtu 1590,tun-mtu 1532,proto UDPv4,comp-lzo,cipher AES-128-CBC,auth SHA1,keysize 128,key-method 2,tls-server'
Sun Oct 11 21:39:24 2015 Local Options hash (VER=V4): 'b498be7c'
Sun Oct 11 21:39:24 2015 Expected Remote Options hash (VER=V4): '26e19fc0'
Sun Oct 11 21:39:24 2015 UDPv4 link local: [undef]
Sun Oct 11 21:39:24 2015 UDPv4 link remote: [AF_INET]94.211.143.66:12974
Sun Oct 11 21:39:24 2015 MANAGEMENT: >STATE:1444592364,WAIT,,,
Sun Oct 11 21:40:24 2015 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Sun Oct 11 21:40:24 2015 TLS Error: TLS handshake failed
Sun Oct 11 21:40:24 2015 TCP/UDP: Closing socket
Sun Oct 11 21:40:24 2015 SIGUSR1[soft,tls-error] received, process restarting
Sun Oct 11 21:40:24 2015 MANAGEMENT: >STATE:1444592424,RECONNECTING,tls-error,,
Sun Oct 11 21:40:24 2015 Restart pause, 2 second(s)
Sun Oct 11 21:40:26 2015 WARNING: No server certificate verification method has been enabled.  See http://openvpn.net/howto.html#mitm for more info.
Sun Oct 11 21:40:26 2015 Re-using SSL/TLS context
Sun Oct 11 21:40:26 2015 LZO compression initialized
Sun Oct 11 21:40:26 2015 Control Channel MTU parms [ L:1590 D:138 EF:38 EB:0 ET:0 EL:3 ]
Sun Oct 11 21:40:26 2015 Socket Buffers: R=[65536->65536] S=[65536->65536]
Sun Oct 11 21:40:26 2015 MANAGEMENT: >STATE:1444592426,RESOLVE,,,
Sun Oct 11 21:40:26 2015 Data Channel MTU parms [ L:1590 D:1450 EF:58 EB:143 ET:32 EL:3 AF:3/1 ]
Sun Oct 11 21:40:26 2015 Local Options String: 'V4,dev-type tap,link-mtu 1590,tun-mtu 1532,proto UDPv4,comp-lzo,cipher AES-128-CBC,auth SHA1,keysize 128,key-method 2,tls-client'
Sun Oct 11 21:40:26 2015 Expected Remote Options String: 'V4,dev-type tap,link-mtu 1590,tun-mtu 1532,proto UDPv4,comp-lzo,cipher AES-128-CBC,auth SHA1,keysize 128,key-method 2,tls-server'
Sun Oct 11 21:40:26 2015 Local Options hash (VER=V4): 'b498be7c'
Sun Oct 11 21:40:26 2015 Expected Remote Options hash (VER=V4): '26e19fc0'
Sun Oct 11 21:40:26 2015 UDPv4 link local: [undef]
Sun Oct 11 21:40:26 2015 UDPv4 link remote: [AF_INET]94.211.143.66:12974
Sun Oct 11 21:40:26 2015 MANAGEMENT: >STATE:1444592426,WAIT,,,
Sun Oct 11 21:41:26 2015 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Sun Oct 11 21:41:26 2015 TLS Error: TLS handshake failed
Sun Oct 11 21:41:26 2015 TCP/UDP: Closing socket
Sun Oct 11 21:41:26 2015 SIGUSR1[soft,tls-error] received, process restarting
Sun Oct 11 21:41:26 2015 MANAGEMENT: >STATE:1444592486,RECONNECTING,tls-error,,
Sun Oct 11 21:41:26 2015 Restart pause, 2 second(s)
Sun Oct 11 21:41:28 2015 WARNING: No server certificate verification method has been enabled.  See http://openvpn.net/howto.html#mitm for more info.
Sun Oct 11 21:41:28 2015 Re-using SSL/TLS context
Sun Oct 11 21:41:28 2015 LZO compression initialized
Sun Oct 11 21:41:28 2015 Control Channel MTU parms [ L:1590 D:138 EF:38 EB:0 ET:0 EL:3 ]
Sun Oct 11 21:41:28 2015 Socket Buffers: R=[65536->65536] S=[65536->65536]
Sun Oct 11 21:41:28 2015 MANAGEMENT: >STATE:1444592488,RESOLVE,,,
Sun Oct 11 21:41:28 2015 Data Channel MTU parms [ L:1590 D:1450 EF:58 EB:143 ET:32 EL:3 AF:3/1 ]
Sun Oct 11 21:41:28 2015 Local Options String: 'V4,dev-type tap,link-mtu 1590,tun-mtu 1532,proto UDPv4,comp-lzo,cipher AES-128-CBC,auth SHA1,keysize 128,key-method 2,tls-client'
Sun Oct 11 21:41:28 2015 Expected Remote Options String: 'V4,dev-type tap,link-mtu 1590,tun-mtu 1532,proto UDPv4,comp-lzo,cipher AES-128-CBC,auth SHA1,keysize 128,key-method 2,tls-server'
Sun Oct 11 21:41:28 2015 Local Options hash (VER=V4): 'b498be7c'
Sun Oct 11 21:41:28 2015 Expected Remote Options hash (VER=V4): '26e19fc0'
Sun Oct 11 21:41:28 2015 UDPv4 link local: [undef]
Sun Oct 11 21:41:28 2015 UDPv4 link remote: [AF_INET]94.211.143.66:12974
Sun Oct 11 21:41:28 2015 MANAGEMENT: >STATE:1444592488,WAIT,,,
Sun Oct 11 21:42:28 2015 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Sun Oct 11 21:42:28 2015 TLS Error: TLS handshake failed
Sun Oct 11 21:42:28 2015 TCP/UDP: Closing socket
Sun Oct 11 21:42:28 2015 SIGUSR1[soft,tls-error] received, process restarting
Sun Oct 11 21:42:28 2015 MANAGEMENT: >STATE:1444592548,RECONNECTING,tls-error,,
Sun Oct 11 21:42:28 2015 Restart pause, 2 second(s)
Sun Oct 11 21:42:30 2015 WARNING: No server certificate verification method has been enabled.  See http://openvpn.net/howto.html#mitm for more info.
Sun Oct 11 21:42:30 2015 Re-using SSL/TLS context
Sun Oct 11 21:42:30 2015 LZO compression initialized
Sun Oct 11 21:42:30 2015 Control Channel MTU parms [ L:1590 D:138 EF:38 EB:0 ET:0 EL:3 ]
Sun Oct 11 21:42:30 2015 Socket Buffers: R=[65536->65536] S=[65536->65536]
Sun Oct 11 21:42:30 2015 MANAGEMENT: >STATE:1444592550,RESOLVE,,,
Sun Oct 11 21:42:30 2015 Data Channel MTU parms [ L:1590 D:1450 EF:58 EB:143 ET:32 EL:3 AF:3/1 ]
Sun Oct 11 21:42:30 2015 Local Options String: 'V4,dev-type tap,link-mtu 1590,tun-mtu 1532,proto UDPv4,comp-lzo,cipher AES-128-CBC,auth SHA1,keysize 128,key-method 2,tls-client'
Sun Oct 11 21:42:30 2015 Expected Remote Options String: 'V4,dev-type tap,link-mtu 1590,tun-mtu 1532,proto UDPv4,comp-lzo,cipher AES-128-CBC,auth SHA1,keysize 128,key-method 2,tls-server'
Sun Oct 11 21:42:30 2015 Local Options hash (VER=V4): 'b498be7c'
Sun Oct 11 21:42:30 2015 Expected Remote Options hash (VER=V4): '26e19fc0'
Sun Oct 11 21:42:30 2015 UDPv4 link local: [undef]
Sun Oct 11 21:42:30 2015 UDPv4 link remote: [AF_INET]94.211.143.66:12974
Sun Oct 11 21:42:30 2015 MANAGEMENT: >STATE:1444592550,WAIT,,,
Sun Oct 11 21:43:30 2015 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Sun Oct 11 21:43:30 2015 TLS Error: TLS handshake failed
Sun Oct 11 21:43:30 2015 TCP/UDP: Closing socket
Sun Oct 11 21:43:30 2015 SIGUSR1[soft,tls-error] received, process restarting
Sun Oct 11 21:43:30 2015 MANAGEMENT: >STATE:1444592610,RECONNECTING,tls-error,,
Sun Oct 11 21:43:30 2015 Restart pause, 2 second(s)
Sun Oct 11 21:43:32 2015 WARNING: No server certificate verification method has been enabled.  See http://openvpn.net/howto.html#mitm for more info.
Sun Oct 11 21:43:32 2015 Re-using SSL/TLS context
Sun Oct 11 21:43:32 2015 LZO compression initialized
Sun Oct 11 21:43:32 2015 Control Channel MTU parms [ L:1590 D:138 EF:38 EB:0 ET:0 EL:3 ]
Sun Oct 11 21:43:32 2015 Socket Buffers: R=[65536->65536] S=[65536->65536]
Sun Oct 11 21:43:32 2015 MANAGEMENT: >STATE:1444592612,RESOLVE,,,
Sun Oct 11 21:43:32 2015 Data Channel MTU parms [ L:1590 D:1450 EF:58 EB:143 ET:32 EL:3 AF:3/1 ]
Sun Oct 11 21:43:32 2015 Local Options String: 'V4,dev-type tap,link-mtu 1590,tun-mtu 1532,proto UDPv4,comp-lzo,cipher AES-128-CBC,auth SHA1,keysize 128,key-method 2,tls-client'
Sun Oct 11 21:43:32 2015 Expected Remote Options String: 'V4,dev-type tap,link-mtu 1590,tun-mtu 1532,proto UDPv4,comp-lzo,cipher AES-128-CBC,auth SHA1,keysize 128,key-method 2,tls-server'
Sun Oct 11 21:43:32 2015 Local Options hash (VER=V4): 'b498be7c'
Sun Oct 11 21:43:32 2015 Expected Remote Options hash (VER=V4): '26e19fc0'
Sun Oct 11 21:43:32 2015 UDPv4 link local: [undef]
Sun Oct 11 21:43:32 2015 UDPv4 link remote: [AF_INET]94.211.143.66:12974
Sun Oct 11 21:43:32 2015 MANAGEMENT: >STATE:1444592612,WAIT,,,
Sun Oct 11 21:44:32 2015 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Sun Oct 11 21:44:32 2015 TLS Error: TLS handshake failed
Sun Oct 11 21:44:32 2015 TCP/UDP: Closing socket
Sun Oct 11 21:44:32 2015 SIGUSR1[soft,tls-error] received, process restarting
Sun Oct 11 21:44:32 2015 MANAGEMENT: >STATE:1444592672,RECONNECTING,tls-error,,
Sun Oct 11 21:44:32 2015 Restart pause, 2 second(s)
Sun Oct 11 21:44:34 2015 WARNING: No server certificate verification method has been enabled.  See http://openvpn.net/howto.html#mitm for more info.
Sun Oct 11 21:44:34 2015 Re-using SSL/TLS context
Sun Oct 11 21:44:34 2015 LZO compression initialized
Sun Oct 11 21:44:34 2015 Control Channel MTU parms [ L:1590 D:138 EF:38 EB:0 ET:0 EL:3 ]
Sun Oct 11 21:44:34 2015 Socket Buffers: R=[65536->65536] S=[65536->65536]
Sun Oct 11 21:44:34 2015 MANAGEMENT: >STATE:1444592674,RESOLVE,,,
Sun Oct 11 21:44:34 2015 Data Channel MTU parms [ L:1590 D:1450 EF:58 EB:143 ET:32 EL:3 AF:3/1 ]
Sun Oct 11 21:44:34 2015 Local Options String: 'V4,dev-type tap,link-mtu 1590,tun-mtu 1532,proto UDPv4,comp-lzo,cipher AES-128-CBC,auth SHA1,keysize 128,key-method 2,tls-client'
Sun Oct 11 21:44:34 2015 Expected Remote Options String: 'V4,dev-type tap,link-mtu 1590,tun-mtu 1532,proto UDPv4,comp-lzo,cipher AES-128-CBC,auth SHA1,keysize 128,key-method 2,tls-server'
Sun Oct 11 21:44:34 2015 Local Options hash (VER=V4): 'b498be7c'
Sun Oct 11 21:44:34 2015 Expected Remote Options hash (VER=V4): '26e19fc0'
Sun Oct 11 21:44:34 2015 UDPv4 link local: [undef]
Sun Oct 11 21:44:34 2015 UDPv4 link remote: [AF_INET]94.211.143.66:12974
Sun Oct 11 21:44:34 2015 MANAGEMENT: >STATE:1444592674,WAIT,,,
Sun Oct 11 21:45:34 2015 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Sun Oct 11 21:45:34 2015 TLS Error: TLS handshake failed
Sun Oct 11 21:45:34 2015 TCP/UDP: Closing socket
Sun Oct 11 21:45:34 2015 SIGUSR1[soft,tls-error] received, process restarting
Sun Oct 11 21:45:34 2015 MANAGEMENT: >STATE:1444592734,RECONNECTING,tls-error,,
Sun Oct 11 21:45:34 2015 Restart pause, 2 second(s)
Sun Oct 11 21:45:36 2015 WARNING: No server certificate verification method has been enabled.  See http://openvpn.net/howto.html#mitm for more info.
Sun Oct 11 21:45:36 2015 Re-using SSL/TLS context
Sun Oct 11 21:45:36 2015 LZO compression initialized
Sun Oct 11 21:45:36 2015 Control Channel MTU parms [ L:1590 D:138 EF:38 EB:0 ET:0 EL:3 ]
Sun Oct 11 21:45:36 2015 Socket Buffers: R=[65536->65536] S=[65536->65536]
Sun Oct 11 21:45:36 2015 MANAGEMENT: >STATE:1444592736,RESOLVE,,,
Sun Oct 11 21:45:36 2015 Data Channel MTU parms [ L:1590 D:1450 EF:58 EB:143 ET:32 EL:3 AF:3/1 ]
Sun Oct 11 21:45:36 2015 Local Options String: 'V4,dev-type tap,link-mtu 1590,tun-mtu 1532,proto UDPv4,comp-lzo,cipher AES-128-CBC,auth SHA1,keysize 128,key-method 2,tls-client'
Sun Oct 11 21:45:36 2015 Expected Remote Options String: 'V4,dev-type tap,link-mtu 1590,tun-mtu 1532,proto UDPv4,comp-lzo,cipher AES-128-CBC,auth SHA1,keysize 128,key-method 2,tls-server'
Sun Oct 11 21:45:36 2015 Local Options hash (VER=V4): 'b498be7c'
Sun Oct 11 21:45:36 2015 Expected Remote Options hash (VER=V4): '26e19fc0'
Sun Oct 11 21:45:36 2015 UDPv4 link local: [undef]
Sun Oct 11 21:45:36 2015 UDPv4 link remote: [AF_INET]94.211.143.66:12974
Sun Oct 11 21:45:36 2015 MANAGEMENT: >STATE:1444592736,WAIT,,,

this is my client1.ovpn file
client
dev tap
proto udp
dev-node NETGEAR-VPN
remote timverdonschot.mynetgear.com 12974
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert client.crt
key client.key
cipher AES-128-CBC
comp-lzo
verb 5
 
ive installed everything the way it is ment to be I also name changed my virtual adapter too ''NETGEAR-VPN"
but i can't seem to get it working, anyone with experience?


 

 
Link to comment
https://linustechtips.com/topic/465457-openvpn/
Share on other sites

Link to post
Share on other sites

Did you move your certificates as well as the OVPN file to your GFs laptop?

Are you running it as admin?

thankyou for your reply, I indeed moved all of the certificating files into the config folder:

ca.crt

client.crt

client.key

client1.ovpn

I also ran it as administrator thankyou I forgot to mention that

Link to comment
https://linustechtips.com/topic/465457-openvpn/#findComment-6246158
Share on other sites

Link to post
Share on other sites

I have never had the crts and key files without file locations in the OVPN.  Maybe that makes a difference? 

 

For example, I would have them as:

ca "C:\\Program Files\\OpenVPN\\config\\ca.crt"

cert "C:\\Program Files\\OpenVPN\\config\\client.crt"
key "C:\\Program Files\\OpenVPN\\config\\client.key"

 

ALSO, I noticed you named the crt and key "client".  Did you set your clients to be used on more than one computer at once?  If so, if its enabled already on another computer, your GFs computer won't connect.

 

For my VPN setup, I have different sets of files for each computer.

Link to comment
https://linustechtips.com/topic/465457-openvpn/#findComment-6246205
Share on other sites

Link to post
Share on other sites

You can't just create different OVPN files and expect them to work with the set of client crts and keys.

No, Ive trying on multiply pc's. i just want to get it done on 1 pc, i am not connecting to the vpn on more devices, I know u can only have 1 active session but to make it clear i am on my own laptop at my girlfriends place. thank you for your response

Link to comment
https://linustechtips.com/topic/465457-openvpn/#findComment-6246222
Share on other sites

Link to post
Share on other sites

I have never had the crts and key files without file locations in the OVPN.  Maybe that makes a difference? 

 

For example, I would have them as:

ca "C:\\Program Files\\OpenVPN\\config\\ca.crt"

cert "C:\\Program Files\\OpenVPN\\config\\client.crt"

key "C:\\Program Files\\OpenVPN\\config\\client.key"

 

ALSO, I noticed you named the crt and key "client".  Did you set your clients to be used on more than one computer at once?  If so, if its enabled already on another computer, your GFs computer won't connect.

 

For my VPN setup, I have different sets of files for each computer.

%7Boption%7Dhttp://puu.sh/kGIKg/0c4fe16e56.png[/img}

I pasted the original files in the config folder, untouched, directly exported them from my router.

You can't just create different OVPN files and expect them to work with the set of client crts and keys.

Link to comment
https://linustechtips.com/topic/465457-openvpn/#findComment-6246249
Share on other sites

Link to post
Share on other sites

Oh my mistake.  I have never setup a OpenVPN server via a router.  Always have had a PC as a server.

yee I wish it was like that haha, I also got a server and that one works great. this is just pure hassle, but the servers costs me 60 euro a year and a home VPN would be cheaper and more realible :D

Link to comment
https://linustechtips.com/topic/465457-openvpn/#findComment-6246263
Share on other sites

Link to post
Share on other sites

Try this maybe:

 

client

dev tap
proto udp
dev-node NETGEAR-VPN
remote timverdonschot.mynetgear.com 12974
resolv-retry infinite
nobind
persist-key
persist-tun

ca "C:\\Program Files (x86)\\OpenVPN\\config\\ca.crt"

cert "C:\\Program Files (x86)\\OpenVPN\\config\\client.crt"

key "C:\\Program Files (x86)\\OpenVPN\\config\\client.key"
cipher AES-128-CBC
comp-lzo
verb 5
Link to comment
https://linustechtips.com/topic/465457-openvpn/#findComment-6246270
Share on other sites

Link to post
Share on other sites

Try this maybe:

Sun Oct 11 22:14:04 2015   pkcs11_protected_authentication = DISABLED
Sun Oct 11 22:14:04 2015   pkcs11_protected_authentication = DISABLED
Sun Oct 11 22:14:04 2015   pkcs11_protected_authentication = DISABLED
Sun Oct 11 22:14:04 2015   pkcs11_protected_authentication = DISABLED
Sun Oct 11 22:14:04 2015   pkcs11_private_mode = 00000000
Sun Oct 11 22:14:04 2015   pkcs11_private_mode = 00000000
Sun Oct 11 22:14:04 2015   pkcs11_private_mode = 00000000
Sun Oct 11 22:14:04 2015   pkcs11_private_mode = 00000000
Sun Oct 11 22:14:04 2015   pkcs11_private_mode = 00000000
Sun Oct 11 22:14:04 2015   pkcs11_private_mode = 00000000
Sun Oct 11 22:14:04 2015   pkcs11_private_mode = 00000000
Sun Oct 11 22:14:04 2015   pkcs11_private_mode = 00000000
Sun Oct 11 22:14:04 2015   pkcs11_private_mode = 00000000
Sun Oct 11 22:14:04 2015   pkcs11_private_mode = 00000000
Sun Oct 11 22:14:04 2015   pkcs11_private_mode = 00000000
Sun Oct 11 22:14:04 2015   pkcs11_private_mode = 00000000
Sun Oct 11 22:14:04 2015   pkcs11_private_mode = 00000000
Sun Oct 11 22:14:04 2015   pkcs11_private_mode = 00000000
Sun Oct 11 22:14:04 2015   pkcs11_private_mode = 00000000
Sun Oct 11 22:14:04 2015   pkcs11_private_mode = 00000000
Sun Oct 11 22:14:04 2015   pkcs11_cert_private = DISABLED
Sun Oct 11 22:14:04 2015   pkcs11_cert_private = DISABLED
Sun Oct 11 22:14:04 2015   pkcs11_cert_private = DISABLED
Sun Oct 11 22:14:04 2015   pkcs11_cert_private = DISABLED
Sun Oct 11 22:14:04 2015   pkcs11_cert_private = DISABLED
Sun Oct 11 22:14:04 2015   pkcs11_cert_private = DISABLED
Sun Oct 11 22:14:04 2015   pkcs11_cert_private = DISABLED
Sun Oct 11 22:14:04 2015   pkcs11_cert_private = DISABLED
Sun Oct 11 22:14:04 2015   pkcs11_cert_private = DISABLED
Sun Oct 11 22:14:04 2015   pkcs11_cert_private = DISABLED
Sun Oct 11 22:14:04 2015   pkcs11_cert_private = DISABLED
Sun Oct 11 22:14:04 2015   pkcs11_cert_private = DISABLED
Sun Oct 11 22:14:04 2015   pkcs11_cert_private = DISABLED
Sun Oct 11 22:14:04 2015   pkcs11_cert_private = DISABLED
Sun Oct 11 22:14:04 2015   pkcs11_cert_private = DISABLED
Sun Oct 11 22:14:04 2015   pkcs11_cert_private = DISABLED
Sun Oct 11 22:14:04 2015   pkcs11_pin_cache_period = -1
Sun Oct 11 22:14:04 2015   pkcs11_id = '[uNDEF]'
Sun Oct 11 22:14:04 2015   pkcs11_id_management = DISABLED
Sun Oct 11 22:14:04 2015   server_network = 0.0.0.0
Sun Oct 11 22:14:04 2015   server_netmask = 0.0.0.0
Sun Oct 11 22:14:04 2015   server_network_ipv6 = ::
Sun Oct 11 22:14:04 2015   server_netbits_ipv6 = 0
Sun Oct 11 22:14:04 2015   server_bridge_ip = 0.0.0.0
Sun Oct 11 22:14:04 2015   server_bridge_netmask = 0.0.0.0
Sun Oct 11 22:14:04 2015   server_bridge_pool_start = 0.0.0.0
Sun Oct 11 22:14:04 2015   server_bridge_pool_end = 0.0.0.0
Sun Oct 11 22:14:04 2015   ifconfig_pool_defined = DISABLED
Sun Oct 11 22:14:04 2015   ifconfig_pool_start = 0.0.0.0
Sun Oct 11 22:14:04 2015   ifconfig_pool_end = 0.0.0.0
Sun Oct 11 22:14:04 2015   ifconfig_pool_netmask = 0.0.0.0
Sun Oct 11 22:14:04 2015   ifconfig_pool_persist_filename = '[uNDEF]'
Sun Oct 11 22:14:04 2015   ifconfig_pool_persist_refresh_freq = 600
Sun Oct 11 22:14:04 2015   ifconfig_ipv6_pool_defined = DISABLED
Sun Oct 11 22:14:04 2015   ifconfig_ipv6_pool_base = ::
Sun Oct 11 22:14:04 2015   ifconfig_ipv6_pool_netbits = 0
Sun Oct 11 22:14:04 2015   n_bcast_buf = 256
Sun Oct 11 22:14:04 2015   tcp_queue_limit = 64
Sun Oct 11 22:14:04 2015   real_hash_size = 256
Sun Oct 11 22:14:04 2015   virtual_hash_size = 256
Sun Oct 11 22:14:04 2015   client_connect_script = '[uNDEF]'
Sun Oct 11 22:14:04 2015   learn_address_script = '[uNDEF]'
Sun Oct 11 22:14:04 2015   client_disconnect_script = '[uNDEF]'
Sun Oct 11 22:14:04 2015   client_config_dir = '[uNDEF]'
Sun Oct 11 22:14:04 2015   ccd_exclusive = DISABLED
Sun Oct 11 22:14:04 2015   tmp_dir = 'C:\Users\tim_v\AppData\Local\Temp\'
Sun Oct 11 22:14:04 2015   push_ifconfig_defined = DISABLED
Sun Oct 11 22:14:04 2015   push_ifconfig_local = 0.0.0.0
Sun Oct 11 22:14:04 2015   push_ifconfig_remote_netmask = 0.0.0.0
Sun Oct 11 22:14:04 2015   push_ifconfig_ipv6_defined = DISABLED
Sun Oct 11 22:14:04 2015   push_ifconfig_ipv6_local = ::/0
Sun Oct 11 22:14:04 2015   push_ifconfig_ipv6_remote = ::
Sun Oct 11 22:14:04 2015   enable_c2c = DISABLED
Sun Oct 11 22:14:04 2015   duplicate_cn = DISABLED
Sun Oct 11 22:14:04 2015   cf_max = 0
Sun Oct 11 22:14:04 2015   cf_per = 0
Sun Oct 11 22:14:04 2015   max_clients = 1024
Sun Oct 11 22:14:04 2015   max_routes_per_client = 256
Sun Oct 11 22:14:04 2015   auth_user_pass_verify_script = '[uNDEF]'
Sun Oct 11 22:14:04 2015   auth_user_pass_verify_script_via_file = DISABLED
Sun Oct 11 22:14:04 2015   client = ENABLED
Sun Oct 11 22:14:04 2015   pull = ENABLED
Sun Oct 11 22:14:04 2015   auth_user_pass_file = '[uNDEF]'
Sun Oct 11 22:14:04 2015   show_net_up = DISABLED
Sun Oct 11 22:14:04 2015   route_method = 0
Sun Oct 11 22:14:04 2015   ip_win32_defined = DISABLED
Sun Oct 11 22:14:04 2015   ip_win32_type = 3
Sun Oct 11 22:14:04 2015   dhcp_masq_offset = 0
Sun Oct 11 22:14:04 2015   dhcp_lease_time = 31536000
Sun Oct 11 22:14:04 2015   tap_sleep = 0
Sun Oct 11 22:14:04 2015   dhcp_options = DISABLED
Sun Oct 11 22:14:04 2015   dhcp_renew = DISABLED
Sun Oct 11 22:14:04 2015   dhcp_pre_release = DISABLED
Sun Oct 11 22:14:04 2015   dhcp_release = DISABLED
Sun Oct 11 22:14:04 2015   domain = '[uNDEF]'
Sun Oct 11 22:14:04 2015   netbios_scope = '[uNDEF]'
Sun Oct 11 22:14:04 2015   netbios_node_type = 0
Sun Oct 11 22:14:04 2015   disable_nbt = DISABLED
Sun Oct 11 22:14:04 2015 OpenVPN 2.3.8 i686-w64-mingw32 [sSL (OpenSSL)] [LZO] [PKCS11] [iPv6] built on Aug  4 2015
Sun Oct 11 22:14:04 2015 library versions: OpenSSL 1.0.1p 9 Jul 2015, LZO 2.08
Sun Oct 11 22:14:04 2015 MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:25340
Sun Oct 11 22:14:04 2015 Need hold release from management interface, waiting...
Sun Oct 11 22:14:04 2015 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:25340
Sun Oct 11 22:14:04 2015 MANAGEMENT: CMD 'state on'
Sun Oct 11 22:14:04 2015 MANAGEMENT: CMD 'log all on'
Sun Oct 11 22:14:04 2015 MANAGEMENT: CMD 'hold off'
Sun Oct 11 22:14:04 2015 MANAGEMENT: CMD 'hold release'
Sun Oct 11 22:14:04 2015 WARNING: No server certificate verification method has been enabled.  See http://openvpn.net/howto.html#mitm for more info.
Sun Oct 11 22:14:04 2015 LZO compression initialized
Sun Oct 11 22:14:04 2015 Control Channel MTU parms [ L:1590 D:138 EF:38 EB:0 ET:0 EL:3 ]
Sun Oct 11 22:14:04 2015 Socket Buffers: R=[65536->65536] S=[65536->65536]
Sun Oct 11 22:14:04 2015 MANAGEMENT: >STATE:1444594444,RESOLVE,,,
Sun Oct 11 22:14:04 2015 Data Channel MTU parms [ L:1590 D:1450 EF:58 EB:143 ET:32 EL:3 AF:3/1 ]
Sun Oct 11 22:14:04 2015 Local Options String: 'V4,dev-type tap,link-mtu 1590,tun-mtu 1532,proto UDPv4,comp-lzo,cipher AES-128-CBC,auth SHA1,keysize 128,key-method 2,tls-client'
Sun Oct 11 22:14:04 2015 Expected Remote Options String: 'V4,dev-type tap,link-mtu 1590,tun-mtu 1532,proto UDPv4,comp-lzo,cipher AES-128-CBC,auth SHA1,keysize 128,key-method 2,tls-server'
Sun Oct 11 22:14:04 2015 Local Options hash (VER=V4): 'b498be7c'
Sun Oct 11 22:14:04 2015 Expected Remote Options hash (VER=V4): '26e19fc0'
Sun Oct 11 22:14:04 2015 UDPv4 link local: [undef]
Sun Oct 11 22:14:04 2015 UDPv4 link remote: [AF_INET]94.211.143.66:12974
Sun Oct 11 22:14:04 2015 MANAGEMENT: >STATE:1444594444,WAIT,,,
Link to comment
https://linustechtips.com/topic/465457-openvpn/#findComment-6246287
Share on other sites

Link to post
Share on other sites

 

Greetings,

I got a new router today, the nighthawk r7000.Ive set it up with VPN Services enabled and changed my DNS to dynamic.

I got a few config files that I had to import into OpenVPN and once I did that it automaticly connects to my network, i am currently testing at my gf's place but it doesnt see to work

 

-Snip-

 

ive installed everything the way it is ment to be I also name changed my virtual adapter too ''NETGEAR-VPN"

but i can't seem to get it working, anyone with experience?

 

 

 

Please put logs in spoilers, thanks. 

 

Spoiler

I7 4790K @4.5 Ghz 1.294V

VALIDATION, MSI Z97 Gaming 7, 24GB DDR3 1600, Asus Strix 1070 8GB OC@ 2.2Ghz, Corsair graphite series 760T (Black), Cooler master V850, NH-D15 w/LNA ,1TB Samsung 850 Evo,  480GB Sandisk Ultra II SSD, 3TB Seagate Barracuda x 3, 1 TB WD Passport (Backup drive), 2 TB WD Passport (Backup Drive 2),  Windows 10 Pro x64 (uhg), Logitech G900 Chaos (Main), Steelseries Rival (FADE) (Courtesy of Edzel Yago, Thanks Ed), Steelsieres Rival 300 Hyperbeast Special Edition, Coolermaster Quickfire TKL (MX Blue), Razer Blackwidow Tournament edition (Greens).  Audio: Sennheiser HD598 SE, Edifier S1000DB, AudioEngine D1 DAC; Yamaha MG06X Mixer & AudioTechnica AT2020.

 

Phones; Daily drivers: Nexus 6P 64GB/iPhone 6 (Music), Apple Watch, Apple AirPods.

Laptop: 2015 Macbook Pro 13, 8GB of RAM, 2.7Ghz i5, 240GB Apple SSD. 

 

Spoiler

Plex Server: i7 3770, Gigabyte Board, 16GB DDR3 1600, Asus Strix GTX 1050ti 4GB, 120GB SSD Boot Drive, 8 x 3TB Seagate Barracuda, Rosewill RSV-R4000 With 2 Rosewill Hot Swap 4x Backplane Bays, 1050 Watt Corsair HX Series PSU,Hyper T2, Windows 10 Pro 

 

I also do Youtube, check me out!

Link to comment
https://linustechtips.com/topic/465457-openvpn/#findComment-6246747
Share on other sites

Link to post
Share on other sites

Thanksgiving is the best <3

 

So, to recap.  I don't know the router OpenVPN setups that well.  How can we be sure it is setup correctly on that side of things?

there's a wizard when u activate VPN services, it tells you to install OpenVPN, activate the VPN service on the router. setup a DDNS on the router I also did that I registered it on the NETGEAR DNS with my own account, I then installed OpenVPN 2.3.8 on my laptop, downloaded the config files from my router and imported them in my config folder from OpenVPN, I renamed the wireless tap adapter to "NETGEAR-VPN" and ran OpenVPN GUI as administrator. thats everything I should have done, the only thing they mention is setup a static IP or a DDNS in this case ive setten up a DDNS but if I can't find a solution imma call my ISP to change my public IP to an static one

Link to comment
https://linustechtips.com/topic/465457-openvpn/#findComment-6250201
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×