When the fuck did a mobile hotspot become something you have to pay extra for?
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.
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 ;)
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.
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)
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.
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.
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!
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:
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