It’s my goddamn motherfucking mobile data and MY PHONE. I should be able to use it however I want. My wifi went down because the greedy, cunt-faced shitbags at Comcast stole taxpayer subsidies to enrich themselves instead of actually providing the service we’re paying for. I tried to switch to a mobile hotspot and my phone refuses to open one. Everyone responsible for this shit should be fed to alligators locked away in a fucking gulag. We have no rights and live in a corporate plutocracy.

  • 0_o@lemm.ee
    link
    fedilink
    English
    arrow-up
    9
    ·
    11 months ago

    This is the reason I was forced to use android and root my phone. I used a custom ROM to bring back the tethering option then connect to a VPN and used the rooted terminal to mess with the iptables and routing to mask the fact I was tethering. Uuuugh, I don’t miss those days. Luckily the market changed in my country and went the other direction so I don’t have to deal with this anymore… Still have the old shell scripts saved tho ;)

    • u/lukmly013 (lemmy.sdf.org)@lemmy.sdf.org
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      11 months ago

      I have a different idea that wouldn’t require root nor any special setup. Unfortunately, or rather fortunately in this case, I have no way to test it.

      My idea:

      1. Install Android proxy server from (unfortunately) Play Store
      2. Start hotspot on the other device
      3. Connect your phone to the hotspot
      4. Find your IP address on the network you just connected to (the hotspot on other device) - it should be in WiFi settings, when you click on more details on the connection. Alternatively you could find it in output of ip a in Termux.
      5. Open Android Proxy Server app and optionally adjust settings to your liking. (IP address to bind to - should be your phone’s on the hotspot, port, authentication)
      6. Enable the proxy server that you want to use. If you’re connected through VPN, it will go through it. I use HTTP/HTTPS proxy.
      7. Connect to the proxy server on your other device using your phone’s IP and the appropriate port. In Firefox go to settings, scroll down, click on network setup.

      I use this to circumvent the 1 device limit of free ProtonVPN. Also on school network (with authentication enabled) to go through VPN and use NextDNS.

      • 0_o@lemm.ee
        link
        fedilink
        English
        arrow-up
        1
        ·
        11 months ago

        Good solution but some network providers look for Windows / Mac exclusive traffic, headers or some-such shutting down your connection immediately. I had some success tethering Linux machines tho :P Modern Windows likes to phone-home imminently upon establishing an internet connection, not to mention windows updates and a whole host of windowsness. The anti-tether developers were no doubt spoilt for choice with the amount of flags windows sends!

    • PeterPoopshit@lemmy.ml
      link
      fedilink
      English
      arrow-up
      1
      ·
      11 months ago

      Is there a guide on how to do this? I have a rooted phone with custom rom and unlocked bootloader.

      • 0_o@lemm.ee
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        11 months ago

        Okay, so note that this script is over 8 years old now but if you google some of the lines or ask in a Linux / Android board they may be able to help you get this working if it doesn’t as-is:

        So, connect to your vpn on your phone and activate hotspot. Before connecting to it simply type these lines into the terminal (Think I used to use the Terminal Emulator app). You’ll have to run the “su” command first to get root access:

        iptables --flush
        iptables -t filter -F FORWARD
        iptables -t nat -F POSTROUTING
        iptables -t filter -A FORWARD -j ACCEPT
        iptables -t nat -A POSTROUTING -j MASQUERADE
        

        That should be all you need… Unless something’s changed in later android versions. I saved the above as a .sh script so I didn’t have to copy-paste every line every time