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

    vpn

    Scheduled Pinned Locked Moved Unsolved Support
    14 Posts 3 Posters 261 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.
    • Linus67L Offline
      Linus67
      last edited by

      I use WireGuard on a Raspberry Pi behind the router. It works perfectly.

      https://forums.ubports.com/topic/10154/vpn-import-openvpn-and-wireguard-configurations-using-networkmanager-nmcli?_=1769974444404

      Pixel 3a, NextCloud, pihole, Wireguard VPN, Trilium, Paperless ngx...

      P 1 Reply Last reply Reply Quote 0
      • P Offline
        Privacy+freedom @Linus67
        last edited by

        @Linus67 I run wireguard on my openwrt router so when I'm at home I run VPN 24/7 but when I'm outside my house and I'm on 4g/5g I want a VPN

        1 Reply Last reply Reply Quote 0
        • P Offline
          Privacy+freedom @Vlad Nirky
          last edited by

          @Vlad-Nirky might have to give this a try
          but my router runs openwrt with wireguard

          Linus67L 1 Reply Last reply Reply Quote 0
          • Linus67L Offline
            Linus67 @Privacy+freedom
            last edited by

            @Privacy-freedom perfect, for this workaround in the link do you need only a wg0.conf file.

            Pixel 3a, NextCloud, pihole, Wireguard VPN, Trilium, Paperless ngx...

            P 1 Reply Last reply Reply Quote 0
            • P Offline
              Privacy+freedom @Linus67
              last edited by Privacy+freedom

              @Linus67 I used this workaround before i imported it using nmcli but I noticed you can't use dns blocklists in the configs,

              on my openwrt router I use addguard home and if I use an wireguard config with the import wouraround on Ububtu touch my DNS quarry's is visible in addguard home, even tho an DNS leak test on Ubuntu touch shows no leeks as if the DNS quereys Is visbale on the router outside the VPN,

              But if i use an WG config on Ubuntu touch with no addblocks the querrys are hidden and not vissibale on router

              I did this by downloading an WG config from mullvads config generator

              Linus67L 1 Reply Last reply Reply Quote 0
              • Linus67L Offline
                Linus67 @Privacy+freedom
                last edited by

                @Privacy-freedom
                In wg0.conf, I’ve only entered the Raspberry Pi’s IP address with Pi-hole as the DNS server.
                I’ve disabled IPv6 in OpenWrt. So all traffic always goes through Pi-hole. It works perfekt for me.

                Pixel 3a, NextCloud, pihole, Wireguard VPN, Trilium, Paperless ngx...

                P 1 Reply Last reply Reply Quote 0
                • P Offline
                  Privacy+freedom @Linus67
                  last edited by Privacy+freedom

                  @Linus67 i have only used this workaround with normal wg configs
                  but wired that it leaks dns equerry in plain text to router if dns blocklists are enabled in config on ubuntu touch but no leak if non filters are selected based on my testing
                  my dns on leak test sites in Ubuntu touch even only shows vpn dns yet somehow the equerry are sent in plain text to router

                  Linus67L 1 Reply Last reply Reply Quote 0
                  • Linus67L Offline
                    Linus67 @Privacy+freedom
                    last edited by

                    @Privacy-freedom
                    I haven’t looked into DNS blocklists on Ubuntu Touch yet. Where are these configured on UT?

                    Pixel 3a, NextCloud, pihole, Wireguard VPN, Trilium, Paperless ngx...

                    P 1 Reply Last reply Reply Quote 0
                    • P Offline
                      Privacy+freedom @Linus67
                      last edited by Privacy+freedom

                      @Linus67 just in the wireguard config
                      when you download an config from mullvad you have the option to select blocklists
                      i assume most vpns have the same option when dowloading wg configs

                      Linus67L 1 Reply Last reply Reply Quote 0
                      • Linus67L Offline
                        Linus67 @Privacy+freedom
                        last edited by

                        @Privacy-freedom
                        OK, you’ve downloaded a .conf files.

                        I’ve installed WireGuard in Docker on the Raspberry Pi with Pi-hole.
                        You have to write the .conf file yourself. I’ve created three .conf files: full, split and tolerant.
                        full.conf = DNS only via Pi-hole.

                        Pixel 3a, NextCloud, pihole, Wireguard VPN, Trilium, Paperless ngx...

                        P 1 Reply Last reply Reply Quote 0
                        • P Offline
                          Privacy+freedom @Linus67
                          last edited by

                          @will try this pi hole is easy to install on openwrt

                          downlwding conf files from mullvad seems to work aslong as no blacklists are selected

                          will try to find an way to verify that the encryption works

                          is this method only meant for pi hole and coustom configs did not see that mentioned in the guide

                          Linus67L 1 Reply Last reply Reply Quote 0
                          • Linus67L Offline
                            Linus67 @Privacy+freedom
                            last edited by

                            @Privacy-freedom
                            You need to gain a bit more experience to create a .conf file properly and ensure it works as intended.
                            Don’t forget to make copies of your working settings. AI can also be helpful.

                            Pixel 3a, NextCloud, pihole, Wireguard VPN, Trilium, Paperless ngx...

                            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