• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
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.
    • ? Offline
      A Former User
      last edited by 29 Aug 2023, 21:35

      hello, how to setup vpn ubuntu?,

      L 1 Reply Last reply 30 Aug 2023, 04:53 Reply Quote 0
      • K Keneda moved this topic from Fairphone 4 on 29 Aug 2023, 23:20
      • L Offline
        Lakotaubp @Guest
        last edited by 30 Aug 2023, 04:53

        @carlos80 There should be something in here https://forums.ubports.com/topic/2008/the-ubports-tutorial-links-collection/1 or use the Forum search/recent functions (icons in top browser bar next to menu), there have been a few threads recently.

        1 Reply Last reply Reply Quote 1
        • J Offline
          jarop
          last edited by 16 Oct 2023, 08:40

          I'm trying to repeat steps in vpn tutorials for protonvpn but it just doesn't work. Either "no password" which I handle with adding [vpn-secrets] but then timeout on connection. I have extracted ca.crt and tls.key from ovpn file (there were no more certificates there). Did anybody succeed setting up proton vpn in 2023 ?

          A N 3 Replies Last reply 16 Oct 2023, 09:06 Reply Quote 0
          • A Offline
            arubislander @jarop
            last edited by 16 Oct 2023, 09:06

            @jarop Are you on Xenial or on Focal (the instructions for Focal are simpler)

            πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
            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 16 Oct 2023, 12:51 Reply Quote 0
            • J Offline
              jarop @arubislander
              last edited by 16 Oct 2023, 12:51

              @arubislander I'm on focal

              A 1 Reply Last reply 16 Oct 2023, 12:58 Reply Quote 0
              • A Offline
                arubislander @jarop
                last edited by 16 Oct 2023, 12:58

                @jarop In that case if you downloaded an .ovpn file from Proton VPN, you should be able to import it by opening the terminal app and typing

                nmcli connection import type openvpn file "<path/to/file.ovpn>"
                

                where <path/to/file.opvn> should be replaced with the full path to the ovpn file you downloaded.

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

                J C 2 Replies Last reply 16 Oct 2023, 13:12 Reply Quote 0
                • J Offline
                  jarop @arubislander
                  last edited by 16 Oct 2023, 13:12

                  @arubislander Thank you very much for the import suggestion. I had no idea such option exists :).
                  I tried it and first - it didn't connect because of no password saved.
                  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 have waydroid with protonvpn app on the same device and it can open vpn from there without problems so for sure it is not real issue with host being unreachable.

                  Did you have similar problems with connection?

                  A 2 Replies Last reply 16 Oct 2023, 13:29 Reply Quote 0
                  • A Offline
                    arubislander @jarop
                    last edited by 16 Oct 2023, 13:29

                    @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
                    • A Offline
                      arubislander @jarop
                      last edited by arubislander 16 Oct 2023, 13:30

                      @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 16 Oct 2023, 13:42 Reply Quote 0
                      • J Offline
                        jarop @arubislander
                        last edited by 16 Oct 2023, 13:42

                        @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!!!

                        A 1 Reply Last reply 16 Oct 2023, 14:13 Reply Quote 0
                        • A Offline
                          arubislander @jarop
                          last edited by 16 Oct 2023, 14:13

                          @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 17 Oct 2023, 04:49 Reply Quote 0
                          • N Offline
                            naizena @jarop
                            last edited by 16 Oct 2023, 17:41

                            @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 16 Oct 2023, 19:52

                              @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 17 Oct 2023, 04:49

                                @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 17 Oct 2023, 14:19 Reply Quote 1
                                • J Offline
                                  jarop @arubislander
                                  last edited by 17 Oct 2023, 05:05

                                  @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?

                                  A 1 Reply Last reply 17 Oct 2023, 06:06 Reply Quote 0
                                  • A Offline
                                    arubislander @jarop
                                    last edited by 17 Oct 2023, 06:06

                                    @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 17 Oct 2023, 14:19

                                      @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.

                                      A 1 Reply Last reply 17 Oct 2023, 14:50 Reply Quote 0
                                      • A Offline
                                        arubislander @jarop
                                        last edited by 17 Oct 2023, 14:50

                                        @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 19 Oct 2023, 06:56 Reply Quote 0
                                        • J Offline
                                          jarop @arubislander
                                          last edited by 19 Oct 2023, 06:56

                                          @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 17 Feb 2024, 17:01

                                            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
                                            • First post
                                              Last post