• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
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 765 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
      last edited by 30 Sept 2023, 12:12

      Hi,

      has anyone manage to get Mullvad VPN to work? I saw a post here trying to show, but it doesnt work out for me. Connection time out.

      Best regards

      R 1 Reply Last reply 30 Sept 2023, 14:48 Reply Quote 0
      • A Offline
        arubislander @Rinkeby
        last edited by arubislander 10 Mar 2023, 10:39 3 Oct 2023, 10:39

        @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 (20.04 DEV)
        JingPad (24.04 preview)
        Meizu Pro 5 (16.04 DEV)

        R 2 Replies Last reply 3 Oct 2023, 13:01 Reply Quote 0
        • R Offline
          Rinkeby @Rinkeby
          last edited by 30 Sept 2023, 14:48

          @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 2 Oct 2023, 16:08

            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 2 Oct 2023, 21:19 Reply Quote 0
            • R Offline
              Rinkeby @dloriq
              last edited by 2 Oct 2023, 21:19

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

              A 1 Reply Last reply 2 Oct 2023, 21:57 Reply Quote 0
              • A Offline
                arubislander @Rinkeby
                last edited by 2 Oct 2023, 21:57

                @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 (20.04 DEV)
                JingPad (24.04 preview)
                Meizu Pro 5 (16.04 DEV)

                R 1 Reply Last reply 3 Oct 2023, 09:17 Reply Quote 0
                • R Offline
                  Rinkeby @arubislander
                  last edited by 3 Oct 2023, 09:17

                  @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 3 Oct 2023, 09:32

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

                    A D 2 Replies Last reply 3 Oct 2023, 10:39 Reply Quote 0
                    • A Offline
                      arubislander @Rinkeby
                      last edited by arubislander 10 Mar 2023, 10:39 3 Oct 2023, 10:39

                      @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 (20.04 DEV)
                      JingPad (24.04 preview)
                      Meizu Pro 5 (16.04 DEV)

                      R 2 Replies Last reply 3 Oct 2023, 13:01 Reply Quote 0
                      • R Offline
                        Rinkeby @arubislander
                        last edited by 3 Oct 2023, 13:01

                        @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
                        • A arubislander has marked this topic as solved on 3 Oct 2023, 13:02
                        • R Rinkeby marked this topic as a regular topic on 3 Oct 2023, 13:03
                        • R Offline
                          Rinkeby @arubislander
                          last edited by 3 Oct 2023, 13:08

                          @arubislander

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

                          A 1 Reply Last reply 3 Oct 2023, 13:13 Reply Quote 0
                          • A Offline
                            arubislander @Rinkeby
                            last edited by 3 Oct 2023, 13:13

                            @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 (20.04 DEV)
                            JingPad (24.04 preview)
                            Meizu Pro 5 (16.04 DEV)

                            1 Reply Last reply Reply Quote -1
                            • D Offline
                              dloriq @Rinkeby
                              last edited by 4 Oct 2023, 23:54

                              @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
                              • A arubislander marked this topic as a question on 5 Oct 2023, 04:46
                              • A arubislander has marked this topic as solved on 5 Oct 2023, 04:47
                              3 out of 12
                              • First post
                                3/12
                                Last post