Redirecting 192.168.49.1 Traffic to 192.168.0.X
~~Allow custom editing of Proxy URL/hostname~~
~~The IP address assigned by the Wi‑Fi router.~~ ~~> 192.168.0.X~~ ~~192.168.1.X~~
https://github.com/sequentialread/AndroidSocks5Proxy Redirecting 192.168.49.1:8228 Traffic to 192.168.0.X:8228
Operation Steps
- Mobile device IP: 192.168.0.100
- Enable tetherfi: 192.168.49.1:8228
Redirect traffic from 192.168.49.1:8228 to 192.168.0.100:8228
- Enter proxy settings in Windows 10: 192.168.0.100:8228
Hello
Unfortunately this is not possible, as the DHCP distribution of addresses is controlled by a low level part of the WiFi Direct implementation on Android. As a third party app, I do not have access to control this part, unless new APIs have been added recently.
I will double check, but sadly, I do not believe this is something a third party app can do :(
hello @pyamsoft https://github.com/sequentialread/AndroidSocks5Proxy The traffic from 192.168.49.1:8228 can be forwarded to 192.168.0.X:8228 on the LAN?
Operation Steps
- Mobile device IP: 192.168.0.100
- Enable tetherfi: 192.168.49.1:8228
Redirect traffic from 192.168.49.1:8228 to 192.168.0.100:8228
- Enter proxy settings in Windows 10: 192.168.0.100:8228
At an application level I can't control SNAT or DNAT so this isn't possible sadly, to my knowledge at least.
What I could possibly do is bind the Proxy server to the 0 address on all interfaces, and then you may be able to directly access it from 0.100
What I could possibly do is bind the Proxy server to the 0 address on all interfaces, and then you may be able to directly access it from 0.100
Cool