IP routing question for Proxy Pros - USB tethering 4G on multiple mobile phones via Internal IP (local network)?

Joined
Jul 11, 2019
Messages
573
Reaction score
291
We are using EveryProxy app + USB tethering to create a LOCAL 4G proxy, i.e. the PC is able to connect through the internal IP of the network/device and get a 4G IP through a proxy (192.168.X.X)

We change the Automatic Metric of the WiFi to "1" so that the PC prioritises WiFi over Ethernet

When we setup 1 phone, the proxy works fine.

However, when we connect multiple phones to the PC, EveryProxy app seems to give both phones THE SAME INTERNAL IP (192.168.X.X) :(

Even if we have different ports open on each phone, only 1 proxy works at a time

The PC detects multiple internet connections and labels them as Ethernet, so I'm assuming it gives each phone a different internal IP, BUT when USB tethering is activated, only 1 phone will work?

Also note, setting up a hotspot is not possible here - my bot on the PC is connected with WiFi and all of my social media accounts MUST be connected via my different proxies on an internal network

Currently we have 4G dongle + rpi + usb hub setup, but we wish to sell the dongles and run the 4G proxies on phones instead

Unfortunately my 10mb download garbage wifi cant handle that many External proxies, bandwidth is too low here

Please help :eek:
 
Read every BHW post on 4G, proxy farms, etc, etc

You don't use phones

You need a separate broadband modem dongle ZTE MF823 for each proxy you want

Then you plug that modem into a cheap Raspberry PI

If I remember correctly, you then run one or more VM's and connect each one to one of the
Raspberry PIs

Someone in the marketplace sells a PROFESSIONAL Book on creating Proxy Farms

Buy and read the book.

Remember, you can always get more money. YOU CANNOT GET MORE TIME.

Sincerely,

The Eye

PS. DO NOT USE WI-FI IN A PROXY FARM. You are exposing yourself to increased radiation.

Those MF823 modem dongles have a port for an external antenna. You should hook them to
a multiport broadband antenna like a Jiangsu Hengxin Technology has a 12 port
Lo Band Hi Band Twin Beam Antenna for 900/1800/2100/2600 for $138 including shipping on Alibaba.
 
Read every BHW post on 4G, proxy farms, etc, etc

You don't use phones

You need a separate broadband modem dongle ZTE MF823 for each proxy you want

Then you plug that modem into a cheap Raspberry PI

If I remember correctly, you then run one or more VM's and connect each one to one of the
Raspberry PIs

Someone in the marketplace sells a PROFESSIONAL Book on creating Proxy Farms

Buy and read the book.

Remember, you can always get more money. YOU CANNOT GET MORE TIME.

Sincerely,

The Eye

PS. DO NOT USE WI-FI IN A PROXY FARM. You are exposing yourself to increased radiation.

Those MF823 modem dongles have a port for an external antenna. You should hook them to
a multiport broadband antenna like a Jiangsu Hengxin Technology has a 12 port
Lo Band Hi Band Twin Beam Antenna for 900/1800/2100/2600 for $138 including shipping on Alibaba.

Thanks for the reply.

I purchased ProxyKnow Agency from the BHW marketplace (the seller you mentioned) and it cost me over $1k for the script alone

We are currently setup with Huawei E3327h 4G dongles and raspberry pi's, but want to swap from dongles to phones (USB tethering), unfortunately their script doesn't support this :oops:
 
I might be little late to help here, however I can suggest one quick thing. The 4G devices connected via usb have a dhcp server running on them. Just try changing these servers to provide IPs in range of 192.168.2.1, 192.168.3.1, 192.168.4.1 .. and so on. Each dhcp server will provide your PC with different local ip. Next you just need to setup right ip rules and routes to default gateway. Forward the traffic to they local ips using squid or tinyproxy and you are almost done. Hope this helps someone in future.
 
USB tethering is nothing but Ethernet over USB - no different than those huawei devices.
You can easily build a proxy system with phones + squid or even ccproxy win app
You may find the issue with ipv4 or ipv6 binding where you will do modification. Phones are better some times but no API can be created or root access may require.
 
However, when we connect multiple phones to the PC, EveryProxy app seems to give both phones THE SAME INTERNAL IP (192.168.X.X) :(

One of the following.

-

decompile Android's framework /system/framework/framework-res.apk and change USB tethering network . So each phone has its own subnet.

-

If you have root on Android, assign different subnet by "ip address add 192.168.55.1/24 dev usb0" in root Android shell.

-

On server side (when it is Linux), use Policy based routing.
Each outgoing connection is CONNMARK'ed with a mark. If MARK is 100, then route it via usb100 local network interface. Repeat for other usbXXXX interfaces. So that all usbXXXX local interfaces can have the same tethering subnet e.g. 192.168.42.0/24 ( the default)
 
Back
Top