Using Rethink DNS app btw, I want to use a firewall and VPN at the same time on Android. Wtf?!?

So my IP has somehow just been leaking all this time…

Edit: Typo

  • wizrad@lemmy.ca
    link
    fedilink
    arrow-up
    12
    arrow-down
    1
    ·
    10 hours ago

    you are doing nothing wrong. To my knowledge, there is no effective firewall app for android that doesn’t occupy the VPN connection. From my understanding, you either have a VPN or a firewall. I have found no work around for both that was effective.

    • yeehaw@lemmy.ca
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      17 minutes ago

      I use tasker. Is SSID name “my home SSID name”?

      Yes: disable wireguard

      No: enable wireguard

      Always on vpn. I have no need to use these other VPNs like everyone else is, but if I were I’d set that up on my opnsense firewall at home. That way everything in my network, and my phone’s when away from home, are all tunnelled through the VPN provider. Opnsense does all the content filtering and security stuff well enough for my needs.

    • ReversalHatchery@beehaw.org
      link
      fedilink
      English
      arrow-up
      3
      ·
      edit-2
      7 hours ago

      yes, but actually no.

      there are apps (like rethink DNS) that pack multiple functions in the app. if an app is being used to handle a VPN connection, it gets to process all your network traffic, see for each packet which app does it belong to, and can do both firewalling, split tunneling by app or type of traffic, and can also filter packets. most VPN apps just don’t bother with it because its a complex task, and most users wouldn’t use it anyway.

      There’s also AFWall+ that can configure the kernel’s firewall with root permissions, without setting itself up to handle a V0N connection.

      both of these apps are available on f-droid

  • GravitySpoiled@lemmy.ml
    link
    fedilink
    English
    arrow-up
    12
    ·
    edit-2
    15 hours ago

    Did you activate “block connections without vpn” aka kill switch?

    There’s only one vpn slot on android. How do you tunnel the connection without a second device?

    Did you activate “always on vpn”?

        • ERROR: Earth.exe has crashed@lemmy.dbzer0.comOP
          link
          fedilink
          English
          arrow-up
          3
          ·
          13 hours ago

          Samsung “One UI 6.1” / Android 14

          On the latest January 1 2025 System and “Google Play System” updates.

          Latest version of Rethink DNS v0.5.5n

          Its was a multi-hop Wireguard config Switzerland --> Canada

          I used two different Switerland --> Canada combination of servers and they both crashed after a few days, and existing and re-adding the certificate doesnt work either.

          I’m now using Switzerland --> UK and see if it breaks in a few days…

          • rymdlord
            link
            fedilink
            arrow-up
            4
            ·
            9 hours ago

            I have a way to solve your problem only thing is it’s going to kill your battery life.

            Apps I used to have 2 “vpns”

            First Insular or Shelter use one of them to create a work profile.

            Apps inside of The Work Profile Exclave VPN APP of choice for example MullvadVPN

            Apps outside of The Work Profile Tracker Control PersonalDNSfilter

            What I did is that i configured Tracker Control to send all DNS requests to the locally running DNS service that Personal DNS Filter creates as well as telling Tracker controll to not capture trafic from Personal DNS Filter. I also then configured Personal DNS Filter to use Mullvad DNS witg DoH or DoT. Then i configured Tracker control to send all traffic to a socks5 proxy (that is created by Exclave) that way the traffic from a app goes like this.

            All traffic that isn’t DNS App —> Tracker contol —> Exclave —> MullvadVPN

            DNA traffic App —> Tracker control —> Personal DNS Filter —> Mullvad DNS

            Look I had this for a while and I don’t recommend it due to the battery drain. Remember this setup will use 2 VPN slots run 4 services. A DNS proxy, a full socks5 and A wireguard VPN at the same time as a complete work profile. Good luck tho!

        • ERROR: Earth.exe has crashed@lemmy.dbzer0.comOP
          link
          fedilink
          English
          arrow-up
          2
          ·
          11 hours ago

          So these are the 3 options. Default is using “Rethink DNS” I don’t want to use that, because I’m already having to trust Mullvad, so might as well use their DNS too. “System DNS” is just using the DNS of my ISP. So I have to manually put in Mullvad’s DNS.

          • Maiq@lemy.lol
            link
            fedilink
            arrow-up
            2
            ·
            11 hours ago

            I mean not using whatever app your trying to pass mullvads dns through. Trying to see if it is the OS, or the other (firewall?) app causing your issue. That way you can file a bug report to the right place. If its your not your OS and mullvad works as expected its the other app. Might not be worth using depending on what applications your trying to lock away from the internet.

            On my computer I had firefox set using cloudflare dns and also had mullvad handling my dns causing leakage. Well not really but I has two ip show up in dnsleaktest. One cloudflare and the other mullvad. Is your browser the issue here, can you set dns in the browser settings?

    • ERROR: Earth.exe has crashed@lemmy.dbzer0.comOP
      link
      fedilink
      English
      arrow-up
      4
      ·
      edit-2
      12 hours ago

      Um, no that’s not what I meant.

      Its one VPN, but any “Firewall” apps in Android also use the “VPN” function. And you can’t have both on android.

      So the only app that does both at the same time is Rethink DNS, and the problem with this app is: ⬆️

  • psyklax@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    3
    ·
    12 hours ago

    Oh, you got to use the always-on vpn setting on android. I don’t even trust that not to leak, but it’s a must.

    • ERROR: Earth.exe has crashed@lemmy.dbzer0.comOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      12 hours ago

      I did, also the “Block Connections without VPN”, idk what happened. The VPN logo (the little key looking symbol) is showing up, so its not the Android system leaking it, something is buggy with the Rethink DNS app. Oh well, its FOSS, I can’t blame anyone.

      • psyklax@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        2
        ·
        12 hours ago

        That’s a real bad bug if the failure condition is to bypass your system security settings.

        I saw after I commented that you had already configured it to block. Didnt feel necessary to correct it…

  • merde alors@sh.itjust.works
    link
    fedilink
    arrow-up
    4
    ·
    15 hours ago

    are you using DNS-over-TLS?

    i don’t use nextDNS app. Is nextDNS app using nextDNS by default?

    i had to try different configurations to get what you’re trying to get (firewall + vpn without leaks)

  • Artemis@lemmy.ml
    link
    fedilink
    arrow-up
    3
    ·
    15 hours ago

    I have this exact same issue with Proton VPN using RethinkDNS…my Wireguard proxy works for a while but then randomly cuts out (on my second user profile). In my case it looks like there’s a kill switch when that happens at least but still…can’t find any reason why it keeps dropping.