• 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.
    • C Offline
      Code_Gaug @TartanSpartan
      last edited by 25 Jul 2020, 04:40

      @TartanSpartan I would help you anyway.

      But as you know I'm not a native speaker of English so I'm sorry for my bad or wrong expressions.

      I have many things I want let you know but it's hard for me to write. So I will upload the pictures of my settings. Wait a minute, please.

      T 1 Reply Last reply 25 Jul 2020, 05:16 Reply Quote 2
      • T Offline
        TartanSpartan @Code_Gaug
        last edited by 25 Jul 2020, 05:16

        @Code_Gaug Your English seems fine to me on first glance my friend 🙂

        Thank you for your pictures when they are uploaded. Your help is appreciated.

        C 3 Replies Last reply 25 Jul 2020, 05:38 Reply Quote 0
        • C Offline
          Code_Gaug @TartanSpartan
          last edited by 25 Jul 2020, 05:38

          @TartanSpartan Here's my settings

          vpn_settings.png

          Certification files are just text files.
          I used files which created by Network Manager Gnome and files which I myself copied and pasted from OVPN file and both worked fine.

          If you give settings to VPN like above and it does't work ask me again.
          I hope it works fine.

          C A 2 Replies Last reply 25 Jul 2020, 09:42 Reply Quote 2
          • C Offline
            Code_Gaug @Code_Gaug
            last edited by 25 Jul 2020, 09:42

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • C Offline
              Code_Gaug @TartanSpartan
              last edited by 25 Jul 2020, 10:26

              @TartanSpartan Oh no, now I found Premiumize VPN's OVPN file includes CA certification but no tls-auth certification. I missed that.
              So maybe you made settings by following this tutorial.

              https://www.premiumize.me/plugins?os=ubuntu&tool=openvpn

              Making VPN settings with Network Manager Gnome on Ubuntu Desktop, setting file is created in '/etc/NetworkManager/system-connections' directory as well as with VPN Tool on UT.

              If connection succeed on Ubuntu Desktop and fail on UT you'd better compare both files. Something might be different from each other.

              Would you show me what is different between two setting files?

              1 Reply Last reply Reply Quote 1
              • C Offline
                Code_Gaug @TartanSpartan
                last edited by 26 Jul 2020, 00:32

                @TartanSpartan Hello

                I'm sorry.
                Your VPN provider doesn't use tsl-auth certification.
                So my settings wouldn't be help for you.

                If connection results in failure on UT I still recommend you to compare setting files but you can test the ovpn out via the command line as Fuseteam said. Because it shows the reason of failure immediately.

                sudo openvpn [ovpnfile name]
                

                Password for sudo command is required first then usename & password for VPN are required.
                (Note that password phrase may not be shown even if you input)

                If it works massages end with like following.

                Sun Jul 26 09:05:55 2020 Initialization Sequence Completed
                

                Thank you.

                1 Reply Last reply Reply Quote 1
                • T Offline
                  TartanSpartan
                  last edited by TartanSpartan 26 Jul 2020, 08:47

                  Sorry I went quiet for a while. Thank you for your advice. I've seen a couple of drawbacks with Premiumize in the VPN and otherwise, such as lack of tsl-auth certification as you say, so I might consider moving to Nord when my subscription runs out. But for now I will continue to use Premiumize. Thankfully I was finally able to achieve a VPN connection on my Pro 5 by using nmcli to take the .ovpn file as input along with my username and password, and this also added the connection to the GUI elements so I can turn it on and off with the button. Just what I wanted. I had to do an apt install of the network-manager-openvpn-gnome package for this to work; as VPN editor cannot take .ovpn files at this time, I am looking into raising an issue with Ubports to see if it would be worth including this package in the system image by default. In case this this approach is of interest to anyone else struggling to add a VPN to Ubuntu Touch, the full command used was sudo nmcli connection import type openvpn file "yourfilename.ovpn". I think I had to run it twice for online IP checkers to actually confirm the phone as (supposedly) being in Montreal as was to be expected.

                  However, unfortunately now I have another problem. For personal reasons I have decided to keep my M10 on Vivid OTA-3 until such time as I feel the Xenial build is mature enough to upgrade to. But this does mean it may be vulnerable to bugs which Xenial doesn't have. I wonder if I have discovered one in attempting to apply the VPN to the M10 in the same fashion as for my Pro 5. Here, after running the aforementioned command, it responds Error: failed to load VPN plugin: missing "plugin" setting. Is anyone familiar with this error? I have searched for it online but can't find the string really anywhere except in the Network Manager source code itself, and there, the code doesn't really help explain what the problem may be at least not to my eyes. It does seem that whether this is a bug or something that can be fixed by installing a package or similar, this situation changed from Vivid 15.04 to Xenial 16.04. Can anyone shed some light? Perhaps it might help if you happen to have your own UT device still on 15.04, or a livecd image of 15.04 to test this on x86 architecture. I had considered just copying the VPN connection file from /etc/NetworkManager/system-connections from the Pro 5 to the M10, but I thought this wouldn't really make sense because for example if they shared the same uuid (which I presume is generated during VPN configuration) as a consequence, then they can't both be on the same WIFI connection simultaneously.

                  C 2 Replies Last reply 26 Jul 2020, 16:03 Reply Quote 1
                  • C Offline
                    Code_Gaug @TartanSpartan
                    last edited by 26 Jul 2020, 16:03

                    @TartanSpartan Congratulations!

                    Anyway I'm very happy to know you can achieve a VPN connection. 👍

                    1 Reply Last reply Reply Quote 1
                    • C Offline
                      Code_Gaug @TartanSpartan
                      last edited by 27 Jul 2020, 03:17

                      @TartanSpartan Last night I was too sleepy to read English writtings. Now I 'm fully awake. :beaming_face_with_smiling_eyes:

                      I didn't know .ovpn file can be specified as mncli command's argument or doing so mncli can create VPN setting file which is available for network-manager-openvpn-gnome or VPN tool.
                      I always use 'ip' command for network settings or getting information of network but now I know 'nmcli' is very useful, too.

                      Thank you for letting me know it. I'll learn much more about NetworkManager. :winking_face:

                      1 Reply Last reply Reply Quote 1
                      • T Offline
                        ToxyPoxy
                        last edited by 3 Aug 2020, 05:51

                        36 posts on how to set up a "simple" vpn connection. Something is so wrong here 🙂 Reminds me of when I looked for Spotify solutions for the first time, before Futify was a reality. Do this, do that, make this, make that and nothing works hahaha!

                        1 Reply Last reply Reply Quote -1
                        • A Offline
                          adr90 @Code_Gaug
                          last edited by 21 Jan 2021, 17:10

                          @code_gaug Thanks a lot!!! It worked perfectly.

                          1 Reply Last reply Reply Quote 0
                          • S Offline
                            Spartan @Code_Gaug
                            last edited by Spartan 28 Jan 2023, 17:04

                            @code_gaug Thanks for the insight on this thread. I am trying to setup nord vpn and I could come this far.Not sure what needs to be done after this message.Not sure if something has changed after this old thread.Uploaded cert and key files as well. Any tips or if you can put in the latest screenshots from this page on how configs should look like that would be great. One more thing to add I am trying to use TCPOVPN file.JPG

                            I uploaded private key and key files.JPG Thanks

                            8d5a6881-b8f5-4e48-b697-0e048e53b9c3-image.png![alt text](![image url](Looks like.JPG image url))

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