• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
UBports Robot Logo UBports Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

NordVPN on Ubuntu Touch

Scheduled Pinned Locked Moved Support
39 Posts 10 Posters 9.1k Views 2 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T Offline
      ToxyPoxy
      last edited by 29 Apr 2020, 03:54

      Hello
      Has anybody been able to use NordVPN on Ubuntu Touch?
      If so what is the best way to set it up.

      L C 3 Replies Last reply 29 Apr 2020, 05:10 Reply Quote 0
      • L Offline
        Lakotaubp @ToxyPoxy
        last edited by 29 Apr 2020, 05:10

        @ToxyPoxy Try these Using VPN
        https://ubports.com/blog/ubport-blog-1/post/using-vpn-in-ubuntu-touch-132
        VPN Round 2
        https://ubports.com/blog/ubports-blog-1/post/vpn-on-ubuntu-touch-178

        1 Reply Last reply Reply Quote 1
        • U Offline
          uzanto
          last edited by 5 Jul 2020, 20:54

          Hi, I want to use NordVPN as well but the links are down or moved to somewhere else place, do you know about this? Cheers

          L 2 Replies Last reply 6 Jul 2020, 04:39 Reply Quote 0
          • L Offline
            Lakotaubp @uzanto
            last edited by 6 Jul 2020, 04:39

            @uzanto Hmm finding out now. Will let you know later.

            1 Reply Last reply Reply Quote 0
            • L Offline
              Lakotaubp @uzanto
              last edited by 6 Jul 2020, 18:19

              @uzanto Still being looked into at present

              U 1 Reply Last reply 6 Jul 2020, 19:19 Reply Quote 0
              • U Offline
                uzanto @Lakotaubp
                last edited by 6 Jul 2020, 19:19

                @Lakotaubp Thank you, now seems to work, I'll give I try in a while, hopefully we can import ovpn files soon.

                1 Reply Last reply Reply Quote 1
                • C Offline
                  Code_Gaug @ToxyPoxy
                  last edited by 12 Jul 2020, 06:02

                  @ToxyPoxy Hello
                  This may help you. Or maybe you knew.

                  https://support.nordvpn.com/Connectivity/Linux/1061938702/How-to-connect-to-NordVPN-using-Linux-Network-Manager.htm

                  C 1 Reply Last reply 12 Jul 2020, 06:22 Reply Quote 1
                  • C Offline
                    Code_Gaug @Code_Gaug
                    last edited by 12 Jul 2020, 06:22

                    I downloaded ovpn files from the link.
                    Dividing ovpn file into CA certificate and TLS key file
                    and Using VPN editor I could established VPN connection.

                    But somehow after establishing connection name resolving
                    doesn't work and my Nexus5 can't go anywhere.
                    I did the same about ProtonVPN and the result is the same.
                    On my Ubuntu Desktop, Using Network Manager all works fine
                    both ProtonVPN and NordVPN.

                    I hope this may help you.

                    U 1 Reply Last reply 12 Jul 2020, 08:18 Reply Quote 1
                    • U Offline
                      uzanto @Code_Gaug
                      last edited by 12 Jul 2020, 08:18

                      @Code_Gaug me neither, I've got the .ovpn file but I can't find all the information is in the tutorial that Lakotaubp links.
                      Are you trying with tcp or udp?
                      I'll try it later again.

                      C 1 Reply Last reply 12 Jul 2020, 08:46 Reply Quote 1
                      • C Offline
                        Code_Gaug @uzanto
                        last edited by 12 Jul 2020, 08:46

                        @uzanto I'm trying with udp.

                        Connection itself seems to be OK.
                        So problem of name resolving may be caused by other reason.
                        But I wonder UT's VPN setting has no DNS settings
                        like Network Manager of Ubuntu Desktop.

                        I wonder how is DNS information given to Phone
                        and there is no /etc/resolv.conf on UT,

                        Thank you.

                        C 1 Reply Last reply 12 Jul 2020, 09:12 Reply Quote 1
                        • C Offline
                          Code_Gaug @Code_Gaug
                          last edited by 12 Jul 2020, 09:12

                          nordvpn.png

                          S S 2 Replies Last reply 12 Jul 2020, 22:56 Reply Quote 1
                          • S Offline
                            Seba @Code_Gaug
                            last edited by 12 Jul 2020, 22:56

                            @Code_Gaug You can download the certificates, so no need to take them from your ovpn file:
                            https://downloads.nordcdn.com/configs/archives/certificates/servers.zip

                            Also, if you go to the nordvpn.com page and you see "protected" at the beginning of the page, the vpn setup worked.

                            C 1 Reply Last reply 12 Jul 2020, 23:50 Reply Quote 1
                            • C Offline
                              Code_Gaug @Seba
                              last edited by 12 Jul 2020, 23:50

                              @Seba I couldn't have found this link.
                              This is what I've looking for.
                              Anyway I'll try this later.
                              Thank you so much.

                              S 1 Reply Last reply 13 Jul 2020, 00:50 Reply Quote 1
                              • S Offline
                                Seba @Code_Gaug
                                last edited by 13 Jul 2020, 00:50

                                @Code_Gaug Yes, the link is hidden on the page, I found it in a description of how to set up a router on the nordvpn.com website. Hope it helps

                                C 1 Reply Last reply 13 Jul 2020, 09:21 Reply Quote 1
                                • C Offline
                                  Code_Gaug @Seba
                                  last edited by 13 Jul 2020, 09:21

                                  @Seba I gave a try to connect but the result was the same.

                                  VPN connection seems to be activated like a picture I uploaded before
                                  but my nexus5 can't go anywhere.

                                  Web Browser shows
                                  'Error: net::ERR_NAME_RESOLUTION_FAILED’
                                  This is exactly the same result as I got before.

                                  Thank you Seba.
                                  You must be right.
                                  I'm sure something else is wrong with my Nexus5.
                                  I have no idea why my Nexus5 get to be disable to resolve name when
                                  VPN is on. When VPN is off it can access to NordVPN page without
                                  any problem.

                                  1 Reply Last reply Reply Quote 1
                                  • U Offline
                                    uzanto
                                    last edited by 13 Jul 2020, 19:29

                                    It doesn't work for me, no matter the cert I use if you make it work just let me know @Code_Gaug

                                    C 2 Replies Last reply 13 Jul 2020, 23:59 Reply Quote 0
                                    • C Offline
                                      Code_Gaug @uzanto
                                      last edited by 13 Jul 2020, 23:59

                                      @uzanto I'm sorry I can't explain what is happening well.

                                      While VPN is ON the result of 'ip route' shows that tun0 interface is created and up. And the button's color of VPN Tool turns into green.
                                      Doesn't this mean VPN connection is established successfully?

                                      1 Reply Last reply Reply Quote 1
                                      • C Offline
                                        Code_Gaug @uzanto
                                        last edited by 14 Jul 2020, 01:14

                                        @uzanto
                                        Screenshot_vpn_connection.png

                                        C 1 Reply Last reply 19 Jul 2020, 02:48 Reply Quote 1
                                        • M Offline
                                          mr_growl
                                          last edited by 16 Jul 2020, 06:26

                                          I think I might be having a similar issue with my openvpn connect (not to nordvpn). On my nexus 5 the vpn works fine on wifi and cell service. On my nexus 7 and pinphone using the same keys, certs and settings the vpn connects fine and the routes update but I can't get to the internet. Only difference I saw was that on the nexus 5 (the working connection) the first "default via" entry was for my local router and the second was for the vpn's internal address but on the other devices they were switched around.

                                          The only time I've noticed the nexus 5 not working is if I set up the vpn and the let the phone go to sleep. When I start it back up sometimes I don't have internet access until I turn the vpn connection off and on again.

                                          I'll play around and see if I can spot what's different between them.

                                          1 Reply Last reply Reply Quote 1
                                          • C Offline
                                            Code_Gaug @Code_Gaug
                                            last edited by 19 Jul 2020, 02:48

                                            Considering something is wrong with my Nexus5's system and tryng it again from the beggining I flashed my Nexus5. All things I did before I tried to connect VPN are only to make sshd enable. To get straight to the point, I got the same result. VPN connection is established but name resolutuion doesn't work.

                                            I compared state of networks between Ubuntu Desktop 18.04 LTS and Ubuntu Touch OTA-12.
                                            Note that both of them are on the same local network xx.yy.204.0/24.

                                            First, Ubuntu Desktop 18.04 TLS.
                                            Vpn configuration is set by Network-Manager-Gnome(GUI).
                                            It's very easy to configure and works perfectly.

                                            ( VPN OFF )

                                            $ ip route show
                                            default via xx.yy.204.254 dev wlp3s0 proto dhcp metric 600 
                                            169.254.0.0/16 dev wlp3s0 scope link metric 1000 
                                            xx.yy.204.0/24 dev wlp3s0 proto kernel scope link src xx.yy.204.107 metric 600
                                            

                                            ( VPN ON )

                                            $ ip route show
                                            default via 10.8.2.1 dev tun0 proto static metric 50 
                                            default via xx.yy.204.254 dev wlp3s0 proto dhcp metric 600 
                                            10.8.2.0/24 dev tun0 proto kernel scope link src 10.8.2.8 metric 50 
                                            169.254.0.0/16 dev wlp3s0 scope link metric 1000 
                                            xx.yy.204.0/24 dev wlp3s0 proto kernel scope link src xx.yy.204.107 metric 600 
                                            xx.yy.204.254 dev wlp3s0 proto static scope link metric 600 
                                            212.102.51.212 via xx.yy.204.254 dev wlp3s0 proto static metric 600 
                                            $ ping -c1 10.8.2.8
                                            PING 10.8.2.8 (10.8.2.8) 56(84) bytes of data.
                                            64 bytes from 10.8.2.8: icmp_seq=1 ttl=64 time=0.073 ms
                                            
                                            --- 10.8.2.8 ping statistics ---
                                            1 packets transmitted, 1 received, 0% packet loss, time 0ms
                                            rtt min/avg/max/mdev = 0.073/0.073/0.073/0.000 ms
                                            $ ping -c1 10.8.2.1
                                            PING 10.8.2.1 (10.8.2.1) 56(84) bytes of data.
                                            64 bytes from 10.8.2.1: icmp_seq=1 ttl=64 time=11.7 ms
                                            
                                            --- 10.8.2.1 ping statistics ---
                                            1 packets transmitted, 1 received, 0% packet loss, time 0ms
                                            rtt min/avg/max/mdev = 11.706/11.706/11.706/0.000 ms
                                            $ ping -c1 212.102.51.212
                                            PING 212.102.51.212 (212.102.51.212) 56(84) bytes of data.
                                            64 bytes from 212.102.51.212: icmp_seq=1 ttl=58 time=9.18 ms
                                            
                                            --- 212.102.51.212 ping statistics ---
                                            1 packets transmitted, 1 received, 0% packet loss, time 0ms
                                            rtt min/avg/max/mdev = 9.186/9.186/9.186/0.000 ms
                                            

                                            Second, Ubuntu Touch OTA-12.
                                            Vpn configuration is set by VPN Tool(GUI).
                                            Client and TLS Certification files are ported from Ubuntu Desktop I mension above.

                                            ( VPN OFF )

                                            § ip route show
                                            default via xx.yy.204.254 dev wlan0  proto static  metric 600 
                                            xx.yy.204.0/24 dev wlan0  proto kernel  scope link  src xx.yy.204.249  metric 600
                                            

                                            ( VPN ON )

                                            § ip route show
                                            default via 10.8.0.1 dev tun0  proto static  metric 50 
                                            default via xx.yy.204.254 dev wlan0  proto static  metric 600 
                                            10.8.0.0/24 dev tun0  proto kernel  scope link  src 10.8.0.4  metric 50 
                                            xx.yy.204.0/24 dev wlan0  proto kernel  scope link  src xx.yy.204.249  metric 600 
                                            212.102.51.212 via xx.yy.204.254 dev wlan0  proto static  metric 600 
                                            § ping -c1 10.8.0.4
                                            PING 10.8.0.4 (10.8.0.4) 56(84) bytes of data.
                                            64 bytes from 10.8.0.4: icmp_seq=1 ttl=64 time=0.117 ms
                                            
                                            --- 10.8.0.4 ping statistics ---
                                            1 packets transmitted, 1 received, 0% packet loss, time 0ms
                                            rtt min/avg/max/mdev = 0.117/0.117/0.117/0.000 ms
                                            § ping -c1 10.8.0.1
                                            PING 10.8.0.1 (10.8.0.1) 56(84) bytes of data.
                                            
                                            --- 10.8.0.1 ping statistics ---
                                            1 packets transmitted, 0 received, 100% packet loss, time 0ms
                                            § ping -c1 212.102.51.212
                                            PING 212.102.51.212 (212.102.51.212) 56(84) bytes of data.
                                            64 bytes from 212.102.51.212: icmp_seq=1 ttl=58 time=11.2 ms
                                            
                                            --- 212.102.51.212 ping statistics ---
                                            1 packets transmitted, 1 received, 0% packet loss, time 0ms
                                            rtt min/avg/max/mdev = 11.278/11.278/11.278/0.000 ms
                                            

                                            I don't know what makes the difference betweem them.😧
                                            Do I make big mistake?
                                            What do I have to do next?

                                            1 Reply Last reply Reply Quote 1
                                            • First post
                                              Last post