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

    ProtonVPN on UT24.04-1.2

    Scheduled Pinned Locked Moved Solved Support
    11 Posts 6 Posters 1.2k Views 1 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.
    • K Offline
      kugiigi
      last edited by

      You can try Wireguard. It doesn't have GUI yet in UT but the commands are simple.

      Download the Wireguard config file from your Proton account. Rename it to wg0.conf.
      Then run

      nmcli conn import type wireguard file wg0.conf
      

      To connect:

      nmcli conn up wg0
      

      To disconnect:

      nmcli conn down wg0
      
      P N PrometheusP P 4 Replies Last reply Reply Quote 1
      • P Offline
        projectmoon @kugiigi
        last edited by

        @kugiigi https://next.open-store.io/app/wireguard.sysadmin/ ?

        K 1 Reply Last reply Reply Quote 0
        • K Offline
          kugiigi @projectmoon
          last edited by

          @projectmoon I believe that doesn't use the same wireguard that's in the system. I've never tried myself since the built in one works fine. I don't use it often 😄

          P 1 Reply Last reply Reply Quote 0
          • P Offline
            projectmoon @kugiigi
            last edited by

            @kugiigi said:

            @projectmoon I believe that doesn't use the same wireguard that's in the system. I've never tried myself since the built in one works fine. I don't use it often 😄

            Doesn't use NetworkManager's WireGuard, no. But it does work. Tested it this morning with 2 ProtonVPN profiles.

            1 Reply Last reply Reply Quote 1
            • N Offline
              nogoogle @kugiigi
              last edited by

              @kugiigi said:

              You can try Wireguard. It doesn't have GUI yet in UT but the commands are simple.

              Download the Wireguard config file from your Proton account. Rename it to wg0.conf.
              Then run

              nmcli conn import type wireguard file wg0.conf
              

              To connect:

              nmcli conn up wg0
              

              To disconnect:

              nmcli conn down wg0
              

              Thank you this worked. Interestingly the forum webapp does not conncect on wg. Is here another way to toggle wg connections on and off than using the terminal? They are not listed as VPN connections.

              1 Reply Last reply Reply Quote 1
              • N nogoogle has marked this topic as solved on
              • PrometheusP Offline
                Prometheus @kugiigi
                last edited by

                @kugiigi

                Hello, Thank you for the inspiration to help others.

                Below are instructions for installing a single ProtoVPN Wireguard and multiple ProtonVPN Wireguard configurations along with method for mitigating autoconnect conflicts between them.

                INSTRUCTIONS TO INSTALL PROTON VPN WIREGUARD ON UBUNTU TOUCH 24.04

                DOWNLOAD WIREGUARD CONFIG FILES FROM PROTON VPN WEBSITE

                1. https://account.protonvpn.com/downloads
                2. Give simple name (i.e. wg0, wg5, wg9, etc) to config file
                3. Select platform: GNU/Linux
                4. Select VPN options: (Block malware, ads & trackers)
                5. Select: VPN Accelerator
                6. Select either "Standard" or "Secure Core" configs
                7. Scroll down to choose and select "Create"
                8. Download conf file and make copy with simple name (i.e wg0.conf)

                WIREGUARD CONFIG INSTALL ON UBUNTU TOUCH 24.04

                1. Manually Toggle WiFi OFF
                2. Open Terminal where wg0.conf file is located
                3. Execute following terminal commands:
                  A. nmcli connection import type wireguard file wg0.conf
                  B. nmcli connection modify wg0 ipv4.dns "" ipv4.dns-search "" ipv4.dns-priority ""
                  C. nmcli connection modify wg0 ipv4.dns-priority -50
                  D. nmcli connection down wg0 && nmcli connection up wg0
                4. Manually Toggle WiFi ON
                5. Check IP Address: https://protonvpn.com/what-is-my-ip-address

                MULTIPLE WIREGUARD CONFIG INSTALLS ON UBUNTU TOUCH 24.04

                1. Manually Toggle WiFi OFF
                2. Open Terminal where wg0.conf file is located
                3. Execute following terminal commands:
                  A1. nmcli connection import type wireguard file /path/to/wg0.conf
                  A2. nmcli connection down wg0
                  B1. nmcli connection import type wireguard file /path/to/wg1.conf
                  B2. nmcli connection down wg1
                  C1. ...
                  C2. nmcli connection down wg#
                  D1. nmcli connection import type wireguard file /path/to/wg9.conf
                  D2. nmcli connection down wg9
                4. To prevent conflicts with wg0 and all other wg# connections:
                  A. nmcli connection modify wg0 autoconnect yes
                  B. nmcli connection modify wg1 autoconnect no
                  C. nmcli connection modify wg2 autoconnect no
                  D. ... no
                  E. nmcli connection modify wg9 autoconnect no
                5. nmcli connection down wg0 && nmcli connection up wg0
                6. Manually Toggle WiFi ON

                TROUBLE-SHOOTING VIA TERMINAL

                1. To check wg0 connectino status:
                  A. nmcli device status
                2. To delete wg0 and start over:
                  A. nmcli connection delete wg0
                3. To start wg0 connection
                  A. nmcli connection up wg0
                4. To stop wg0 connection
                  A. nmcli connection down wg0
                1 Reply Last reply Reply Quote 1
                • P Online
                  Privacy+freedom @kugiigi
                  last edited by Privacy+freedom

                  @kugiigi I noticed with this method DNS querrys are still visible on WiFi router if you Use DNS Blocklists in your WG config

                  If I run a DNS leaktest on UT it only show vpn DNS but if I inspect my DNS querrys in router the router can still see the DNS querrys so something is not working with this method

                  1 Reply Last reply Reply Quote 0
                  • C Online
                    ChromiumOS-Guy @nogoogle
                    last edited by

                    @nogoogle the wireguard app in UT openstore, then go to proton vpn and download a wireguard profile and import the resulting .conf file in the app it should work.

                    P 1 Reply Last reply Reply Quote 0
                    • P Online
                      Privacy+freedom @ChromiumOS-Guy
                      last edited by Privacy+freedom

                      @ChromiumOS-Guy tried this but the wireguard app in ubuntu store only accationaly works most of the time it says it's connected but does not change IP address or it only changes the ipv6 and not the ipv4, and it also shows my real DNS in leak test in browser no matter what even when it partially works

                      I woude recommend running leak tests on browserleaks.com

                      C 1 Reply Last reply Reply Quote 0
                      • C Online
                        ChromiumOS-Guy @Privacy+freedom
                        last edited by

                        @Privacy-freedom i checked aside from ipv6 which i stop having, it works perfectly.

                        1 Reply Last reply Reply Quote 0

                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                        With your input, this post could be even better 💗

                        Register Login
                        • First post
                          Last post