NordeVPN connection seems ok but can't access to internet

This forum is for general conversation and user-user networking.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
oliviermrs
OpenVpn Newbie
Posts: 10
Joined: Thu Mar 22, 2018 7:35 pm

NordeVPN connection seems ok but can't access to internet

Post by oliviermrs » Thu Mar 22, 2018 8:13 pm

Hello,

This is the second time I deploy a vpn client, in another laptop.
Everything seems to be ok but connecting to internet doesn't work.
Here's what displays after logging in with my account ids :

Code: Select all

Thu Mar 22 20:39:16 2018 WARNING: --ping should normally be used with --ping-restart or --ping-exit
Thu Mar 22 20:39:16 2018 NOTE: --fast-io is disabled since we are not using UDP
Thu Mar 22 20:39:16 2018 Outgoing Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication
Thu Mar 22 20:39:16 2018 Incoming Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication
Thu Mar 22 20:39:16 2018 TCP/UDP: Preserving recently used remote address: [AF_INET]82.102.18.3:443
Thu Mar 22 20:39:16 2018 Socket Buffers: R=[87380->87380] S=[16384->16384]
Thu Mar 22 20:39:16 2018 Attempting to establish TCP connection with [AF_INET]82.102.18.3:443 [nonblock]
Thu Mar 22 20:39:17 2018 TCP connection established with [AF_INET]82.102.18.3:443
Thu Mar 22 20:39:17 2018 TCP_CLIENT link local: (not bound)
Thu Mar 22 20:39:17 2018 TCP_CLIENT link remote: [AF_INET]82.102.18.3:443
Thu Mar 22 20:39:17 2018 TLS: Initial packet from [AF_INET]82.102.18.3:443, sid=3090bf91 e0717c7f
Thu Mar 22 20:39:17 2018 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Thu Mar 22 20:39:17 2018 VERIFY OK: depth=1, C=PA, ST=PA, L=Panama, O=NordVPN, OU=NordVPN, CN=fr30.nordvpn.com, name=NordVPN, emailAddress=cert@nordvpn.com
Thu Mar 22 20:39:17 2018 Validating certificate key usage
Thu Mar 22 20:39:17 2018 ++ Certificate has key usage  00a0, expects 00a0
Thu Mar 22 20:39:17 2018 VERIFY KU OK
Thu Mar 22 20:39:17 2018 Validating certificate extended key usage
Thu Mar 22 20:39:17 2018 ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication
Thu Mar 22 20:39:17 2018 VERIFY EKU OK
Thu Mar 22 20:39:17 2018 VERIFY OK: depth=0, C=PA, ST=PA, L=Panama, O=NordVPN, OU=NordVPN, CN=fr30.nordvpn.com, name=NordVPN, emailAddress=cert@nordvpn.com
Thu Mar 22 20:39:17 2018 Control Channel: TLSv1.2, cipher TLSv1/SSLv3 ECDHE-RSA-AES256-GCM-SHA384, 2048 bit RSA
Thu Mar 22 20:39:17 2018 [fr30.nordvpn.com] Peer Connection Initiated with [AF_INET]82.102.18.3:443
Thu Mar 22 20:39:19 2018 SENT CONTROL [fr30.nordvpn.com]: 'PUSH_REQUEST' (status=1)
Thu Mar 22 20:39:19 2018 PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1,sndbuf 524288,rcvbuf 524288,dhcp-option DNS 103.86.96.100,dhcp-option DNS 103.86.99.100,route-gateway 10.7.7.1,topology subnet,ping 60,ping-restart 180,ifconfig 10.7.7.54 255.255.255.0,peer-id 0,cipher AES-256-GCM'
Thu Mar 22 20:39:19 2018 OPTIONS IMPORT: timers and/or timeouts modified
Thu Mar 22 20:39:19 2018 OPTIONS IMPORT: --sndbuf/--rcvbuf options modified
Thu Mar 22 20:39:19 2018 Socket Buffers: R=[341760->327680] S=[44800->327680]
Thu Mar 22 20:39:19 2018 OPTIONS IMPORT: --ifconfig/up options modified
Thu Mar 22 20:39:19 2018 OPTIONS IMPORT: route options modified
Thu Mar 22 20:39:19 2018 OPTIONS IMPORT: route-related options modified
Thu Mar 22 20:39:19 2018 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
Thu Mar 22 20:39:19 2018 OPTIONS IMPORT: peer-id set
Thu Mar 22 20:39:19 2018 OPTIONS IMPORT: adjusting link_mtu to 1659
Thu Mar 22 20:39:19 2018 OPTIONS IMPORT: data channel crypto options modified
Thu Mar 22 20:39:19 2018 Data Channel Encrypt: Cipher 'AES-256-GCM' initialized with 256 bit key
Thu Mar 22 20:39:19 2018 Data Channel Decrypt: Cipher 'AES-256-GCM' initialized with 256 bit key
Thu Mar 22 20:39:19 2018 ROUTE_GATEWAY 192.168.0.254/255.255.255.0 IFACE=wlp10s0 HWADDR=80:56:f2:00:24:4a
Thu Mar 22 20:39:19 2018 TUN/TAP device tun0 opened
Thu Mar 22 20:39:19 2018 TUN/TAP TX queue length set to 100
Thu Mar 22 20:39:19 2018 do_ifconfig, tt->did_ifconfig_ipv6_setup=0
Thu Mar 22 20:39:19 2018 /sbin/ip link set dev tun0 up mtu 1500
Thu Mar 22 20:39:19 2018 /sbin/ip addr add dev tun0 10.7.7.54/24 broadcast 10.7.7.255
Thu Mar 22 20:39:19 2018 /sbin/ip route add 82.102.18.3/32 via 192.168.0.254
Thu Mar 22 20:39:19 2018 /sbin/ip route add 0.0.0.0/1 via 10.7.7.1
Thu Mar 22 20:39:19 2018 /sbin/ip route add 128.0.0.0/1 via 10.7.7.1
Thu Mar 22 20:39:19 2018 Initialization Sequence Completed
^CThu Mar 22 20:41:02 2018 event_wait : Interrupted system call (code=4)
Thu Mar 22 20:41:02 2018 /sbin/ip route del 82.102.18.3/32
Thu Mar 22 20:41:02 2018 /sbin/ip route del 0.0.0.0/1
Thu Mar 22 20:41:02 2018 /sbin/ip route del 128.0.0.0/1
Thu Mar 22 20:41:02 2018 Closing TUN/TAP interface
Thu Mar 22 20:41:02 2018 /sbin/ip addr del dev tun0 10.7.7.54/24
Thu Mar 22 20:41:02 2018 SIGINT[hard,] received, process exiting
root@debian-portable:/etc/openvpn/ovpn_tcp# 
root@debian-portable:/etc/openvpn/ovpn_tcp# 
root@debian-portable:/etc/openvpn/ovpn_tcp# 
root@debian-portable:/etc/openvpn/ovpn_tcp# 
root@debian-portable:/etc/openvpn/ovpn_tcp# openvpn fr30*
Thu Mar 22 21:06:51 2018 OpenVPN 2.4.0 i686-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Jul 18 2017
Thu Mar 22 21:06:51 2018 library versions: OpenSSL 1.0.2l  25 May 2017, LZO 2.08
Enter Auth Username: olivier.marais75@gmail.com
Enter Auth Password: **************
Thu Mar 22 21:07:02 2018 WARNING: --ping should normally be used with --ping-restart or --ping-exit
Thu Mar 22 21:07:02 2018 NOTE: --fast-io is disabled since we are not using UDP
Thu Mar 22 21:07:02 2018 Outgoing Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication
Thu Mar 22 21:07:02 2018 Incoming Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication
Thu Mar 22 21:07:02 2018 TCP/UDP: Preserving recently used remote address: [AF_INET]82.102.18.3:443
Thu Mar 22 21:07:02 2018 Socket Buffers: R=[87380->87380] S=[16384->16384]
Thu Mar 22 21:07:02 2018 Attempting to establish TCP connection with [AF_INET]82.102.18.3:443 [nonblock]
Thu Mar 22 21:07:03 2018 TCP connection established with [AF_INET]82.102.18.3:443
Thu Mar 22 21:07:03 2018 TCP_CLIENT link local: (not bound)
Thu Mar 22 21:07:03 2018 TCP_CLIENT link remote: [AF_INET]82.102.18.3:443
Thu Mar 22 21:07:03 2018 TLS: Initial packet from [AF_INET]82.102.18.3:443, sid=837f0ef5 79c41192
Thu Mar 22 21:07:03 2018 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Thu Mar 22 21:07:04 2018 VERIFY OK: depth=1, C=PA, ST=PA, L=Panama, O=NordVPN, OU=NordVPN, CN=fr30.nordvpn.com, name=NordVPN, emailAddress=cert@nordvpn.com
Thu Mar 22 21:07:04 2018 Validating certificate key usage
Thu Mar 22 21:07:04 2018 ++ Certificate has key usage  00a0, expects 00a0
Thu Mar 22 21:07:04 2018 VERIFY KU OK
Thu Mar 22 21:07:04 2018 Validating certificate extended key usage
Thu Mar 22 21:07:04 2018 ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication
Thu Mar 22 21:07:04 2018 VERIFY EKU OK
Thu Mar 22 21:07:04 2018 VERIFY OK: depth=0, C=PA, ST=PA, L=Panama, O=NordVPN, OU=NordVPN, CN=fr30.nordvpn.com, name=NordVPN, emailAddress=cert@nordvpn.com
Thu Mar 22 21:07:04 2018 Control Channel: TLSv1.2, cipher TLSv1/SSLv3 ECDHE-RSA-AES256-GCM-SHA384, 2048 bit RSA
Thu Mar 22 21:07:04 2018 [fr30.nordvpn.com] Peer Connection Initiated with [AF_INET]82.102.18.3:443
Thu Mar 22 21:07:05 2018 SENT CONTROL [fr30.nordvpn.com]: 'PUSH_REQUEST' (status=1)
Thu Mar 22 21:07:06 2018 PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1,sndbuf 524288,rcvbuf 524288,dhcp-option DNS 103.86.96.100,dhcp-option DNS 103.86.99.100,route-gateway 10.7.7.1,topology subnet,ping 60,ping-restart 180,ifconfig 10.7.7.54 255.255.255.0,peer-id 0,cipher AES-256-GCM'
Thu Mar 22 21:07:06 2018 OPTIONS IMPORT: timers and/or timeouts modified
Thu Mar 22 21:07:06 2018 OPTIONS IMPORT: --sndbuf/--rcvbuf options modified
Thu Mar 22 21:07:06 2018 Socket Buffers: R=[341760->327680] S=[44800->327680]
Thu Mar 22 21:07:06 2018 OPTIONS IMPORT: --ifconfig/up options modified
Thu Mar 22 21:07:06 2018 OPTIONS IMPORT: route options modified
Thu Mar 22 21:07:06 2018 OPTIONS IMPORT: route-related options modified
Thu Mar 22 21:07:06 2018 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
Thu Mar 22 21:07:06 2018 OPTIONS IMPORT: peer-id set
Thu Mar 22 21:07:06 2018 OPTIONS IMPORT: adjusting link_mtu to 1659
Thu Mar 22 21:07:06 2018 OPTIONS IMPORT: data channel crypto options modified
Thu Mar 22 21:07:06 2018 Data Channel Encrypt: Cipher 'AES-256-GCM' initialized with 256 bit key
Thu Mar 22 21:07:06 2018 Data Channel Decrypt: Cipher 'AES-256-GCM' initialized with 256 bit key
Thu Mar 22 21:07:06 2018 ROUTE_GATEWAY 192.168.0.254/255.255.255.0 IFACE=wlp10s0 HWADDR=80:56:f2:00:24:4a
Thu Mar 22 21:07:06 2018 TUN/TAP device tun0 opened
Thu Mar 22 21:07:06 2018 TUN/TAP TX queue length set to 100
Thu Mar 22 21:07:06 2018 do_ifconfig, tt->did_ifconfig_ipv6_setup=0
Thu Mar 22 21:07:06 2018 /sbin/ip link set dev tun0 up mtu 1500
Thu Mar 22 21:07:06 2018 /sbin/ip addr add dev tun0 10.7.7.54/24 broadcast 10.7.7.255
Thu Mar 22 21:07:06 2018 /sbin/ip route add 82.102.18.3/32 via 192.168.0.254
Thu Mar 22 21:07:06 2018 /sbin/ip route add 0.0.0.0/1 via 10.7.7.1
Thu Mar 22 21:07:06 2018 /sbin/ip route add 128.0.0.0/1 via 10.7.7.1
Thu Mar 22 21:07:06 2018 Initialization Sequence Completed
I don't understand what could be the problem here...

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: NordeVPN connection seems ok but can't access to internet

Post by TinCanTech » Thu Mar 22, 2018 8:37 pm

The problem is NordeVPN are crap at their job of providing their customers with support.
So NordeVPN customers should demand their money back
until NordeVPN provide support for their Paying Customers.

:twisted:

However, see the post directly below yours here:
viewforum.php?f=1

oliviermrs
OpenVpn Newbie
Posts: 10
Joined: Thu Mar 22, 2018 7:35 pm

Re: NordeVPN connection seems ok but can't access to internet

Post by oliviermrs » Thu Mar 22, 2018 9:14 pm

I added the 3 lines into the update-resolv-conf but nothing happened when I started openvpn.
Am I missing something ? Thanks however.

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: NordeVPN connection seems ok but can't access to internet

Post by TinCanTech » Thu Mar 22, 2018 9:28 pm

The 3 lines go into your client config file from Nordevpn .. not into update-resolv-conf

oliviermrs
OpenVpn Newbie
Posts: 10
Joined: Thu Mar 22, 2018 7:35 pm

Re: NordeVPN connection seems ok but can't access to internet

Post by oliviermrs » Fri Mar 23, 2018 1:42 pm

I might be stupid but I don't see what client file from Nordevpn you are talking about.

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: NordeVPN connection seems ok but can't access to internet

Post by TinCanTech » Fri Mar 23, 2018 1:47 pm

The one you use in openvpn ...

oliviermrs
OpenVpn Newbie
Posts: 10
Joined: Thu Mar 22, 2018 7:35 pm

Re: NordeVPN connection seems ok but can't access to internet

Post by oliviermrs » Fri Mar 23, 2018 2:06 pm

Ok, when I try to connect to openvpn servers I use the argument of the server i.e server fr30.nordvpn.com.tcp.ovpn
is this the file I need to modify ? Because it is the only file I use.

oliviermrs
OpenVpn Newbie
Posts: 10
Joined: Thu Mar 22, 2018 7:35 pm

Re: NordeVPN connection seems ok but can't access to internet

Post by oliviermrs » Fri Mar 23, 2018 6:27 pm

I found the client configuration file under /usr/share/doc/openvpn and added the 3 lines above. Without a change.
What is weird is that I got no problem with my other laptop, same kernel and all.

oliviermrs
OpenVpn Newbie
Posts: 10
Joined: Thu Mar 22, 2018 7:35 pm

Re: NordeVPN connection seems ok but can't access to internet

Post by oliviermrs » Sat Mar 24, 2018 2:29 pm

Well I added the 3 lines under /etc/openvpn/client.conf but it simply doesn't work.
For precision I don't use Ubuntu.

oliviermrs
OpenVpn Newbie
Posts: 10
Joined: Thu Mar 22, 2018 7:35 pm

Re: NordeVPN connection seems ok but can't access to internet

Post by oliviermrs » Sat Mar 24, 2018 3:40 pm

On my other laptop whith Openvpn active (on Nordvpn servers), all I have to do is to tap openvpn [serverconfig] i.e:

Code: Select all

openvpn fr30.nordvpn.com.tcp.ovpn
Such config file (which works perfectly without a change on my other pc) contains:

Code: Select all

#           _   _               ___     ______  _   _
#          | \ | | ___  _ __ __| \ \   / /  _ \| \ | |
#          |  \| |/ _ \| '__/ _` |\ \ / /| |_) |  \| |
#          | |\  | (_) | | | (_| | \ V / |  __/| |\  |
#          |_| \_|\___/|_|  \__,_|  \_/  |_|   |_| \_|
#


client
dev tun
proto tcp
remote 82.102.18.3 443
resolv-retry infinite
remote-random
nobind
tun-mtu 1500
tun-mtu-extra 32
mssfix 1450
persist-key
persist-tun
ping 15
ping-restart 0
ping-timer-rem
reneg-sec 0

remote-cert-tls server

#mute 10000
auth-user-pass

comp-lzo
verb 3
pull
fast-io
cipher AES-256-CBC
auth SHA512

<ca>
-----BEGIN CERTIFICATE-----
MIIExzCCA6+gAwIBAgIJAPe2s3c8QH9rMA0GCSqGSIb3DQEBCwUAMIGdMQswCQYD
VQQGEwJQQTELMAkGA1UECBMCUEExDzANBgNVBAcTBlBhbmFtYTEQMA4GA1UEChMH
Tm9yZFZQTjEQMA4GA1UECxMHTm9yZFZQTjEZMBcGA1UEAxMQZnIzMC5ub3JkdnBu
LmNvbTEQMA4GA1UEKRMHTm9yZFZQTjEfMB0GCSqGSIb3DQEJARYQY2VydEBub3Jk
dnBuLmNvbTAeFw0xNzEwMDUwOTQzMjdaFw0yNzEwMDMwOTQzMjdaMIGdMQswCQYD
VQQGEwJQQTELMAkGA1UECBMCUEExDzANBgNVBAcTBlBhbmFtYTEQMA4GA1UEChMH
Tm9yZFZQTjEQMA4GA1UECxMHTm9yZFZQTjEZMBcGA1UEAxMQZnIzMC5ub3JkdnBu
LmNvbTEQMA4GA1UEKRMHTm9yZFZQTjEfMB0GCSqGSIb3DQEJARYQY2VydEBub3Jk
dnBuLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALTH50ALMjja
fwpJ6kRXx4I0/Vw3X7rtjRCI/pz+GUdFhMbhjkF2OUtS2DO0F7dz6xsQKp5e+rvk
wPvGgoAATzOiUhTg3zZNFsrfkxK7y+w4tAjJ3tWZGLCVW0wffE8cNqaEH+JpVVWr
q143HZ7FqWnfqfvo2DcpZISsFJj0tw98Tv44GY0YufN6GB/89ZyU1kiAcJKTjWIl
k9+KhxfR7YQ4F3f08GplQuWTtjxTkFXGHWZHDFQKAr+79ns2vfM+KCqFzIuvDNWg
qyLbrnAWR1UtqwNCqFvnNFt5T5uvfn/Aa1LgbElD4W3f/i48PZUX0tcFDHo582BJ
03mG1wfft90CAwEAAaOCAQYwggECMB0GA1UdDgQWBBSzLe8ymNJh9uegsCI2k9yA
oKxOTTCB0gYDVR0jBIHKMIHHgBSzLe8ymNJh9uegsCI2k9yAoKxOTaGBo6SBoDCB
nTELMAkGA1UEBhMCUEExCzAJBgNVBAgTAlBBMQ8wDQYDVQQHEwZQYW5hbWExEDAO
BgNVBAoTB05vcmRWUE4xEDAOBgNVBAsTB05vcmRWUE4xGTAXBgNVBAMTEGZyMzAu
bm9yZHZwbi5jb20xEDAOBgNVBCkTB05vcmRWUE4xHzAdBgkqhkiG9w0BCQEWEGNl
cnRAbm9yZHZwbi5jb22CCQD3trN3PEB/azAMBgNVHRMEBTADAQH/MA0GCSqGSIb3
DQEBCwUAA4IBAQB7gubFu1Ojx4CJ6KyW570FaqdiHUSKTc2vDNbhoZkVx9NbMsC5
iNIU41ftS5WxS2ADhAIh2e1sT3uuxLmRL9P2Rg0rSX74uOiYJXt0eIIMNogCgFb1
VvQ6VepyIX7nV8sc/YM6iiSi6Z3gZpKpVlAdLFc6uFZ8Ks4ZIcD4b3DFTtVin6yD
lXRFPVQ61KuqzFBrlN6qsv6uQd8RvcNmA5Gwaj6UNQWbk0ftp1tFPHxrPfXArlz7
+jWlvCVQdVDMzY1KW713DobqMdeecS8EvkXmUSRxy3XqAJPY52acyNVDVFyI5RGD
MqxFUPtA5SvcgkimcEYZ1XwxugaRrKjIXI5p
-----END CERTIFICATE-----
</ca>
key-direction 1
<tls-auth>
#
# 2048 bit OpenVPN static key
#
-----BEGIN OpenVPN Static key V1-----
1af659bf43bcd778c539aa7a1cbf9a75
6427c9611a6a8caefc3a6cf04e24eb9e
2f7170c2900876a210f4127de0856a7e
56becee329dbfbfe5c777df1ab374908
ba5ec64c6a67f9e9ef874139b3385e62
638fad88c1f21fd48a098e2465ab7a8b
c081329b3169e2372f4925324ccc3a2b
cffe5b71be5a7e48f4e39fc4b7a468f6
60ee847cdf413adfa91e17e8875cb4a1
40fa5e628aa508a65719fb21146505d9
9f062c44de0f41f2fc9dd814600c655b
219b9b4519eb63302cb6a9c1892488aa
d84e96a7bb253ebc071ba72b7da66876
4738b638a599265a5e58eebbf78fb4f4
60ab1471b35b07ef60d5b57568f1c0ad
8b18e2e3b9fbe49fc4ce05e2484a5494
-----END OpenVPN Static key V1-----
</tls-auth>
Obviously I tried to add this before the OpenVPN encryption:

Code: Select all

script-security 2
up /etc/openvpn/update-resolv-conf
down /etc/openvpn/update-resolv-conf
It doesn't work.

Anyway the problem is purely DNS resolution related. I can ping server by its IP.

oliviermrs
OpenVpn Newbie
Posts: 10
Joined: Thu Mar 22, 2018 7:35 pm

Re: NordeVPN connection seems ok but can't access to internet

Post by oliviermrs » Tue Mar 27, 2018 2:24 pm

Well, after removing and reinstalling openvpn and even openresolv, after trying to connect this is the output I get :

Code: Select all

...
...
Tue Mar 27 16:19:30 2018 Data Channel Encrypt: Cipher 'AES-256-GCM' initialized with 256 bit key
Tue Mar 27 16:19:30 2018 Data Channel Decrypt: Cipher 'AES-256-GCM' initialized with 256 bit key
Tue Mar 27 16:19:30 2018 ROUTE_GATEWAY 192.168.0.254/255.255.255.0 IFACE=enp7s0 HWADDR=34:e6:d7:67:a6:3f
Tue Mar 27 16:19:30 2018 TUN/TAP device tun0 opened
Tue Mar 27 16:19:30 2018 TUN/TAP TX queue length set to 100
Tue Mar 27 16:19:30 2018 do_ifconfig, tt->did_ifconfig_ipv6_setup=0
Tue Mar 27 16:19:30 2018 /sbin/ip link set dev tun0 up mtu 1500
Tue Mar 27 16:19:30 2018 /sbin/ip addr add dev tun0 10.8.8.103/24 broadcast 10.8.8.255
Tue Mar 27 16:19:30 2018 /sbin/ip route add 197.242.159.122/32 via 192.168.0.254
Tue Mar 27 16:19:30 2018 /sbin/ip route add 0.0.0.0/1 via 10.8.8.1
Tue Mar 27 16:19:30 2018 /sbin/ip route add 128.0.0.0/1 via 10.8.8.1
Tue Mar 27 16:19:30 2018 Initialization Sequence Completed
Processus arrêté
"Processus arrêté": it means that the process has stopped. But how?

Here's the /var/log/syslog:

Code: Select all

Mar 27 16:29:48 debian NetworkManager[511]: <info>  [1522160988.2368] manager: (tun0): new Tun device (/org/freedesktop/NetworkManager/Devices/10)
Mar 27 16:29:48 debian systemd-networkd[290]: tun0: Gained carrier
Mar 27 16:29:48 debian charon: 15[KNL] interface tun0 activated
Mar 27 16:29:48 debian systemd-timesyncd[261]: Network configuration changed, trying to establish connection.
Mar 27 16:29:48 debian charon: 09[KNL] fe80::7a71:ac03:b085:d229 appeared on tun0
Mar 27 16:29:48 debian systemd-networkd[290]: tun0: Gained IPv6LL
Mar 27 16:29:48 debian charon: 13[KNL] 10.7.7.188 appeared on tun0
Mar 27 16:29:48 debian NetworkManager[511]: <info>  [1522160988.2519] devices added (path: /sys/devices/virtual/net/tun0, iface: tun0)
Mar 27 16:29:48 debian NetworkManager[511]: <info>  [1522160988.2520] device added (path: /sys/devices/virtual/net/tun0, iface: tun0): no ifupdown configuration found.
Mar 27 16:29:48 debian NetworkManager[511]: <info>  [1522160988.2523] device (tun0): state change: unmanaged -> unavailable (reason 'connection-assumed') [10 20 41]
Mar 27 16:29:48 debian NetworkManager[511]: <info>  [1522160988.2571] keyfile: add connection in-memory (10ba3471-bd04-442d-93c2-f3b544620006,"tun0")
Mar 27 16:29:48 debian NetworkManager[511]: <info>  [1522160988.2582] device (tun0): state change: unavailable -> disconnected (reason 'connection-assumed') [20 30 41]
Mar 27 16:29:48 debian NetworkManager[511]: <info>  [1522160988.2601] device (tun0): Activation: starting connection 'tun0' (10ba3471-bd04-442d-93c2-f3b544620006)
Mar 27 16:29:48 debian NetworkManager[511]: <info>  [1522160988.2616] device (tun0): state change: disconnected -> prepare (reason 'none') [30 40 0]
Mar 27 16:29:48 debian NetworkManager[511]: <info>  [1522160988.2624] device (tun0): state change: prepare -> config (reason 'none') [40 50 0]
Mar 27 16:29:48 debian NetworkManager[511]: <info>  [1522160988.2629] device (tun0): state change: config -> ip-config (reason 'none') [50 70 0]
Mar 27 16:29:48 debian NetworkManager[511]: <info>  [1522160988.2657] device (tun0): state change: ip-config -> ip-check (reason 'none') [70 80 0]
Mar 27 16:29:48 debian NetworkManager[511]: <info>  [1522160988.2744] device (tun0): state change: ip-check -> secondaries (reason 'none') [80 90 0]
Mar 27 16:29:48 debian NetworkManager[511]: <info>  [1522160988.2750] device (tun0): state change: secondaries -> activated (reason 'none') [90 100 0]
Mar 27 16:29:48 debian systemd-timesyncd[261]: Synchronized to time server 178.33.110.64:123 (0.debian.pool.ntp.org).
Mar 27 16:29:48 debian NetworkManager[511]: <info>  [1522160988.3487] device (tun0): Activation: successful, device activated.
Mar 27 16:29:48 debian dbus[499]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service'
Mar 27 16:29:48 debian systemd[1]: Starting Network Manager Script Dispatcher Service...
Mar 27 16:29:48 debian dbus[499]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Mar 27 16:29:48 debian systemd[1]: Started Network Manager Script Dispatcher Service.
Mar 27 16:29:48 debian nm-dispatcher: req:1 'up' [tun0]: new request (3 scripts)
Mar 27 16:29:48 debian nm-dispatcher: req:1 'up' [tun0]: start running ordered scripts...
Mar 27 16:29:48 debian systemd[1]: Reloading OpenBSD Secure Shell server.
Mar 27 16:29:48 debian systemd[1]: Reloaded OpenBSD Secure Shell server.
Mar 27 16:29:48 debian systemd[1]: Reloading OpenBSD Secure Shell server.
Mar 27 16:29:48 debian systemd[1]: Reloaded OpenBSD Secure Shell server.
Mar 27 16:29:48 debian systemd-networkd[290]: tun0: Lost carrier
Mar 27 16:29:48 debian charon: 13[KNL] interface tun0 deactivated
Mar 27 16:29:48 debian systemd-timesyncd[261]: Network configuration changed, trying to establish connection.
Mar 27 16:29:48 debian charon: 06[KNL] fe80::7a71:ac03:b085:d229 disappeared from tun0
Mar 27 16:29:48 debian NetworkManager[511]: <info>  [1522160988.6252] device (tun0): state change: activated -> unmanaged (reason 'unmanaged') [100 10 3]
Mar 27 16:29:48 debian charon: 05[KNL] 10.7.7.188 disappeared from tun0
Mar 27 16:29:48 debian charon: 04[KNL] interface tun0 deleted
Mar 27 16:29:48 debian nm-dispatcher[5299]: mount: special device /dev/sdb1 does not exist
Mar 27 16:29:48 debian systemd-timesyncd[261]: Synchronized to time server 178.33.110.64:123 (0.debian.pool.ntp.org).
Mar 27 16:29:48 debian NetworkManager[511]: <info>  [1522160988.6830] devices removed (path: /sys/devices/virtual/net/tun0, iface: tun0)
Mar 27 16:29:48 debian nm-dispatcher: req:2 'down' [tun0]: new request (3 scripts)
Mar 27 16:29:48 debian nm-dispatcher: req:2 'down' [tun0]: start running ordered scripts...
Any help appreciated.

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: NordeVPN connection seems ok but can't access to internet

Post by TinCanTech » Tue Mar 27, 2018 3:03 pm

All I can say is .. Don't user Network-Manager ..

For testing that the VPN works start it in a root terminal from the command line.

eg:

Code: Select all

root@your-pc:/etc/openvpn/ # openvpn nordevpn.conf

oliviermrs
OpenVpn Newbie
Posts: 10
Joined: Thu Mar 22, 2018 7:35 pm

Re: NordeVPN connection seems ok but can't access to internet

Post by oliviermrs » Tue Mar 27, 2018 3:16 pm

I don't use Network-Manager...
Until now doing

Code: Select all

openvpn [nordevpn server.ovpn]
worked like a charm.

I tried something else with openpyn-nordvpn (https://github.com/jotyGill/openpyn-nordvpn).
When I run the openpyn I get something different:

Code: Select all

Tue Mar 27 17:13:22 2018 TUN/TAP TX queue length set to 100
Tue Mar 27 17:13:22 2018 do_ifconfig, tt->did_ifconfig_ipv6_setup=0
Tue Mar 27 17:13:22 2018 /sbin/ip link set dev tun0 up mtu 1500
Tue Mar 27 17:13:22 2018 /sbin/ip addr add dev tun0 10.8.8.163/24 broadcast 10.8.8.255
Tue Mar 27 17:13:22 2018 /sbin/ip route add 82.102.18.109/32 via 192.168.0.254
Tue Mar 27 17:13:22 2018 /sbin/ip route add 0.0.0.0/1 via 10.8.8.1
Tue Mar 27 17:13:22 2018 /sbin/ip route add 128.0.0.0/1 via 10.8.8.1
Tue Mar 27 17:13:22 2018 Initialization Sequence Completed
Tue Mar 27 17:13:22 2018 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:7015
Traceback (most recent call last):
  File "/usr/bin/openpyn-management", line 9, in <module>
    load_entry_point('openpyn==2.1.1', 'console_scripts', 'openpyn-management')()
  File "/usr/lib/python3/dist-packages/openpyn/management/management.py", line 34, in show
    notification.show()
GLib.Error: g-dbus-error-quark: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Notifications was not provided by any .service files (2)
Tue Mar 27 17:13:22 2018 MANAGEMENT: TCP recv error: Connection reset by peer
Tue Mar 27 17:13:22 2018 MANAGEMENT: Client disconnected

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: NordeVPN connection seems ok but can't access to internet

Post by TinCanTech » Tue Mar 27, 2018 3:25 pm

oliviermrs wrote:
Tue Mar 27, 2018 3:16 pm
I tried something else with openpyn-nordvpn
Please report your problem to the respective author, we do not support that product.

oliviermrs
OpenVpn Newbie
Posts: 10
Joined: Thu Mar 22, 2018 7:35 pm

Re: NordeVPN connection seems ok but can't access to internet

Post by oliviermrs » Tue Mar 27, 2018 3:28 pm

Ok, thank you anyway.

Post Reply