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

    How to do with mullvad VPN?

    Scheduled Pinned Locked Moved Solved Support
    12 Posts 3 Posters 953 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.
      • R Offline
        Rinkeby @Rinkeby
        last edited by

        @Rinkeby

        Personally I think it might boil down to, CBC and GCM. Mullvad is using GCM and UT offers only CBC. Any thoughts?

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

          I'm using mullvad but its not very friendly. I made a wireguard config and then imported it with nmcli in the terminal. The only downside is that mms will not work when the vpn is on for some reason. I got the openvpn config to work too but it was too much work to figure it out. Another option would be to have mullvad run in waydroid.

          To turn off the vpn i just do nmcli in the terminal and turn it off in there.

          1. Set up shell environment variable: file='/etc/wireguard/wg0.conf'
          2. Now import it using the nmcli command: sudo nmcli connection import type wireguard file "$file"

          source: How to import WireGuard profile using nmcli on Linux Author: Vivek Gite

          R 2 Replies Last reply Reply Quote 0
          • R Offline
            Rinkeby @dloriq
            last edited by

            @dloriq

            Cool! I try it out! Is this under focal only?

            And I can confirm that openvpn fails my service by ony providing CBC and not GCM.

            I hope that will be included shortly.

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

              @Rinkeby UT includes the encryption ciphers that the base Ubuntu includes. I doubt very much any ciphers would be added specially to UT that were not available in the base Ubuntu version it is based on.

              Are you on Xenial, by any chance? In that case I am afraid you would be out of luck on that front.

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

              R 1 Reply Last reply Reply Quote 0
              • R Offline
                Rinkeby @arubislander
                last edited by

                @arubislander

                Thanks for the info. Thats sad. But gonna try the wiregard trick instead then πŸ™‚

                1 Reply Last reply Reply Quote 0
                • R Offline
                  Rinkeby @dloriq
                  last edited by

                  @dloriq

                  and by "file=" you mean? Sorry that I dont understand this simple thing. But I see nowhere where my real file from mullvad should be placed? Is "file=" the path and everything to my mullvad conf file?

                  Like

                  /home/es_mad_wg_002.conf='/etc/wireguard/wg0.conf'

                  Like that?

                  arubislanderA D 2 Replies Last reply Reply Quote 0
                  • arubislanderA Offline
                    arubislander @Rinkeby
                    last edited by arubislander

                    @Rinkeby Not sure why the extra step of making an env variable named file is suggested. You could also simply do:

                    sudo nmcli connection import type wireguard file "<path/to/your/mullvad/config/file>"
                    

                    and replace <path/to/your/mullvad/config/file> with the actual full path.

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

                    R 2 Replies Last reply Reply Quote 0
                    • R Offline
                      Rinkeby @arubislander
                      last edited by

                      @arubislander

                      Wow arubi! You just fixed everything with one line. It works. Super simple! So many thank yous! You saved Ubuntu for me there.

                      Your post should be pinned how to solve mullvad.

                      Thank you again!

                      1 Reply Last reply Reply Quote 0
                      • arubislanderA arubislander has marked this topic as solved on
                      • R Rinkeby marked this topic as a regular topic on
                      • R Offline
                        Rinkeby @arubislander
                        last edited by

                        @arubislander

                        sorry arubi. Try to mark the post as solved again if you want. I accidentally removed your correct status

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

                          @Rinkeby No problem, you go ahead and mark my answer as having solved your issue... looks better that way, anyhow... :grinning_squinting_face:

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

                          1 Reply Last reply Reply Quote -1
                          • D Offline
                            dloriq @Rinkeby
                            last edited by

                            @Rinkeby Sorry I am just barely seeing this didn't recieve any notifications. The instructions were from this article lHow to import WireGuard profile using nmcli on Linuxt but as @arubislander mentioned its simpler to run without the environment variable.

                            @arubislander said in How to do with mullvad VPN?:

                            @Rinkeby No problem, you go ahead and mark my answer as having solved your issue... looks better that way, anyhow... :grinning_squinting_face:

                            LOL

                            1 Reply Last reply Reply Quote 0
                            • arubislanderA arubislander marked this topic as a question on
                            • arubislanderA arubislander has marked this topic as solved on
                            • First post
                              Last post