Accessing proxy network through Wi-Fi hotspot in android.

Search This thread

moyuzai

Member
Oct 28, 2017
24
1
I have an android smartphone, I was using ProxyDroid to connect to a SOCKS5 proxy server, everything was working perfectly, when I opened the browser, typed https://api.ipify.org, and the IP was changed, and then I opened a hotspot on this android smartphone, and I used an iPhone to connect to the Wi-Fi hotspot which was created by the android smartphone.
But the IP wasn't change on my iPhone device.
The problem is, I cannot be able to share my SOCK5 proxy to the Wi-Fi hotspot.

Is there a solution to solve this?



I've been searching on the Internet to find an answer, but there is no luck.

It some could give me some help, I'll be appreciated.


[updated]
Now, it works by running a few commands, but the internet speed is very slow, still trying to figure it out:
(by the way 192.168.43.0/24 is my hotspots' subnet, and 8123 is redsocks' local port)
Bash:
iptables -F 
iptables -t nat -F 
iptables -t nat -A PREROUTING -s 192.168.43.0/24 -p tcp -j REDIRECT --to-ports 8123
 
Last edited: