I currently use Orbot as a general proxy on my phone. However, my school’s WiFi requires me to sign in through a portal. I was wondering if there’s a way of allowing my phone to bypass Orbot and connect to a single IP address, whilst continuing to proxy everything else.

  • TauZero
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    Kill all apps/browser, turn off orbot, connect to wifi, login to portal, turn on orbot? There is a way to set up multiple paths using ip route, but don’t know how access that on a phone. Tor browser has a network.proxy.no_proxies_on option in about:config, but orbot is above that, like a VPN, right?

      • TauZero
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        As best as I can see, torrc has no option to exclude an address. The closest option is MapAddress, but even that doesn’t allow you to skip an ip, only rewrite it. All requests to the tor daemon are predestined to go through the tor network, one way or another. There is a way to setup a private hidden service that loops back to a local ip like 192.168.1.1, but obviously the hidden service will not work until your wifi is already connected.

        You need to do something to the ip before it is handed off to tor. Whatever method Orbot uses to emulate a VPN, you need to bypass that. Since presumably Orbot doesn’t have a setting to exclude an address from the VPN (otherwise you would have used it already), you need to figure out a way to gain access to the Android network stack (such as in a terminal where you can run ip commands, sorry not familiar with Android manual network management), and then mess around with ip route or ip netns or iptables commands to get around the VPN (if you really don’t want to turn it off even for a minute). Obviously the tor process itself is not using its own VPN to access the internet, it has access to the real network somehow, so copy that.

        • Hellfire103@sopuli.xyzOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 year ago

          I use Orbot on iOS. This option is not here.

          Also, please note that I do not use iOS by choice. In an ideal world, I’d have a Fairphone with DivestOS.

          • TauZero
            link
            fedilink
            English
            arrow-up
            1
            ·
            1 year ago

            Oh, sucks then. There is no way to do anything on a non-rooted iphone if it’s not already provided in the options. Gonna have to simply turn it off and on each time.