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

    VPN

    Scheduled Pinned Locked Moved Support
    27 Posts 7 Posters 3.8k Views 4 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.
      • arubislanderA Offline
        arubislander @jarop
        last edited by

        @jarop I don't use Proton VPN.. I recently helped another user connect to their VPN provider, but I think they were using NordVPN.

        πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
        Happily running Ubuntu Touch
        Google Pixel 3a (20.04 DEV)
        JingPad (24.04 preview)
        Meizu Pro 5 (16.04 DEV)

        1 Reply Last reply Reply Quote 0
        • arubislanderA Offline
          arubislander @jarop
          last edited by arubislander

          @jarop said in VPN:

          I did the password-flags=0 + [vpn-secrets] config change to store password (btw do you know how to make system remember password without need to do this change?) but then connection takes long time and ends with a timeout.

          I am not familiar with that change. Was it not sufficient to open the configuration in the VPN settings after it was imported, and only adding the necessary credentials?

          The tutorial you linked to is very old, I am not sure all the steps are still necessary.

          πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
          Happily running Ubuntu Touch
          Google Pixel 3a (20.04 DEV)
          JingPad (24.04 preview)
          Meizu Pro 5 (16.04 DEV)

          J 1 Reply Last reply Reply Quote 0
          • J Offline
            jarop @arubislander
            last edited by

            @arubislander I have no idea why openvpn connection didn't work for me. But I have used the instruction you suggested to import wireguard configuration and it did work perfectly.
            That is all I needed. Thank you for your help!!!

            arubislanderA 1 Reply Last reply Reply Quote 0
            • arubislanderA Offline
              arubislander @jarop
              last edited by

              @jarop Wireguard works on Focal? that is great news. What command did you use exactly to get it to work?

              πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
              Happily running Ubuntu Touch
              Google Pixel 3a (20.04 DEV)
              JingPad (24.04 preview)
              Meizu Pro 5 (16.04 DEV)

              J 2 Replies Last reply Reply Quote 0
              • N Offline
                naizena @jarop
                last edited by

                @jarop
                I use protonvpn on focal.screenshot20231016_182728881.png screenshot20231016_182748631.png

                It works

                1 Reply Last reply Reply Quote 0
                • N Offline
                  naizena @jarop
                  last edited by

                  @jarop Take a look to https://forums.ubports.com/post/32296
                  Files created from the OVPN must either be created on the terminal itself or transferred from the computer. But not sent, for example, by email, because they wouldn't work.
                  Good luck.

                  1 Reply Last reply Reply Quote 0
                  • J Offline
                    jarop @arubislander
                    last edited by

                    @arubislander I have used
                    nmcli connection import type wireguard file "<path/to/file.ovpn>" and it did create connection. I have some difficulties with managing routing after connections are reset but I'm not stuck and this is work in progress. This isn't visible in GUI, only in terminal

                    J 1 Reply Last reply Reply Quote 1
                    • J Offline
                      jarop @arubislander
                      last edited by

                      @arubislander I have no idea why, on my device it doesn't work. I follow tutorial, followed import command and result stays as it was. Do you know why password to vpn keeps disappearing maybe?

                      arubislanderA 1 Reply Last reply Reply Quote 0
                      • arubislanderA Offline
                        arubislander @jarop
                        last edited by

                        @jarop said in VPN:

                        Do you know why password to vpn keeps disappearing maybe?

                        I am afraid not. It sounds like the bug some people have experienced where the WiFi password doesn't stick. That one was due to missing MAC address. But I cannot begin to guess what might be causing your issue.
                        Maybe the steps in the tutorial you followed messed something up, since they are for an older version of the OS.

                        πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
                        Happily running Ubuntu Touch
                        Google Pixel 3a (20.04 DEV)
                        JingPad (24.04 preview)
                        Meizu Pro 5 (16.04 DEV)

                        1 Reply Last reply Reply Quote 0
                        • J Offline
                          jarop @jarop
                          last edited by

                          @arubislander Current status is connectoins via wireguard are working for me but DNS does not. I have no idea how to make it work. Trying to connect by ip address works.

                          arubislanderA 1 Reply Last reply Reply Quote 0
                          • arubislanderA Offline
                            arubislander @jarop
                            last edited by

                            @jarop As wireguard is not a 'traditional' VPN, but more of a pair-to-pair protocol, it probably requires some extra network routing rules to get everything working. Unfortunately I haven't bitten that bullet yet myself to be able to offer much help there.

                            πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
                            Happily running Ubuntu Touch
                            Google Pixel 3a (20.04 DEV)
                            JingPad (24.04 preview)
                            Meizu Pro 5 (16.04 DEV)

                            J 1 Reply Last reply Reply Quote 0
                            • J Offline
                              jarop @arubislander
                              last edited by

                              @arubislander Your suggestions were very helpful. At least I can connect somehow to vpn. Thank you!

                              1 Reply Last reply Reply Quote 0
                              • D Offline
                                domubpkm
                                last edited by domubpkm

                                Seems impossible for me to make proton vpn work on the Volla focal (tested only on OTA-4) by installing a conf through the system parameters. Does this work for anyone? Worked well on Volla Xenial through vpn-editor.

                                Edit : i noticed that some TLS settings doen't seem saved and i opened https://gitlab.com/ubports/ubuntu-touch/-/issues/2184

                                1 Reply Last reply Reply Quote 0
                                • D Offline
                                  domubpkm
                                  last edited by

                                  @naizena Hello. Can you confirm if proton vpn works or not with OTA-4 for you ? Thanks.

                                  N 1 Reply Last reply Reply Quote 0
                                  • N Offline
                                    naizena @domubpkm
                                    last edited by naizena

                                    @domubpkm Yes, it works for me if I'm conected to wifi.
                                    It doesn't work on data connection (It looks like it's connected because the connection indicator turns green and you don't get an error message, but it doesn't connect to the internet...)
                                    But no problem on wifi connection.
                                    Volla X. Focal 20.04 OTA-4. Protonvpn.

                                    D 1 Reply Last reply Reply Quote 1
                                    • D Offline
                                      domubpkm @naizena
                                      last edited by

                                      @naizena Yes, i confirm vpn works with wifi on OTA-4 too for me. Thanks for that. But before OTA-4, did it work with cellular data on focal ? Because, maybe i'm mistaken but i don't see in your posts that you said that it worked only with wifi.

                                      N 1 Reply Last reply Reply Quote 0
                                      • N Offline
                                        naizena @domubpkm
                                        last edited by naizena

                                        @domubpkm It doesn't work with cellular data since Focal update (it worked on Xenial). I thought it would be a problem with my phone company (I'm newbie)... but is not. I tested on an Android device and it works with the data connection. I posted this issue on 26 april 2023.

                                        1 Reply Last reply Reply Quote 0
                                        • CiberSheepC Offline
                                          CiberSheep @arubislander
                                          last edited by

                                          @arubislander I have teste both ProtonVPN and nordVPN on Xenial (don't ask) ans Focal.

                                          • ProtonVPN (latest) doesn't work for me. I think i because of the cyphering AES-256-GCM which is ΒΏnot available on UT?
                                          • NordVPN
                                            • works on Focal importing the ovpn file (quite hidden in the manual setup, but well) and adding IKE v2 username/password
                                            • works on Xenial but you need to install VPN editor, and set Security/HMAC auth to SHA-512

                                          Another planet, another time, another universe!

                                          D arubislanderA 2 Replies Last reply Reply Quote 0
                                          • D Offline
                                            domubpkm @CiberSheep
                                            last edited by

                                            @CiberSheep said in VPN:

                                            cyphering AES-256-GCM

                                            why this ? on xenial, with proton, i used AES-256-CBC. On focal , currently, with a config in system parameters, it works with WIFI on volla, but doesn't work with cellular data (see above in comments).

                                            1 Reply Last reply Reply Quote -1
                                            • arubislanderA Offline
                                              arubislander @CiberSheep
                                              last edited by

                                              @CiberSheep openssl ciphers | grep -i 256.gcm does reveal that there are several AES 256 GCM ciphers installed on Ubuntu Touch 20.04. But not having ever used ProtonVPN, I do not know if the right one is in the list.

                                              πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
                                              Happily running Ubuntu Touch
                                              Google Pixel 3a (20.04 DEV)
                                              JingPad (24.04 preview)
                                              Meizu Pro 5 (16.04 DEV)

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