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
    7 Posts 4 Posters 629 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.
    • N Offline
      nogoogle
      last edited by

      Was anyone successful in establishing a ProtonVPN connection on Noble?

      I tried manual setup via GUI but it was not clear to me how the parameters in the openvpn file map to the fields in the VPN settings, went through documentation and forum posts with no clear solution.

      Next, I tried the nmcli import method as described here: (https://forums.ubports.com/topic/10154/vpn-import-openvpn-and-wireguard-configurations-using-networkmanager-nmcli?_=1772844580125&loggedin=true)

      The connection is listed, I entered username and password via settings GUI but when activating it, the connection timed out.

      I would be very grateful if someone who has a working ProtonVPN setup could share how this was achieved.

      Thanks

      1 Reply Last reply Reply Quote 0
      • K Online
        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 3 Replies Last reply Reply Quote 0
        • 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 Online
            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 0
                • N nogoogle has marked this topic as solved
                • 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 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