Any open source solution for running a mobile proxy tunnel?

bobbyfilet69

Regular Member
Joined
Jun 8, 2017
Messages
258
Reaction score
32
I just got a SIM card with a data plan, and tried to setup Proxidize legacy on my spare android phone. But aside from it crashing when changing IPs, it also doesn't allow me to tunnel from within my wifi network to my sim's data IP - it's either wifi off and it uses the sim data IP, or wifi on and it uses my wifi IP. I see in the github issues that wifi split backend was discussed, but it seems this was only built into the paid proxidize service, which isn't something I can pay for given that this is a hobby project.

Are there any open source solutions people have found? I only need a single tunnel, I'm not trying to build a farm, so I was thinking I could get a mobile hotspot and power cycle it (ideally if I could find one that allows for remote control via an API, but if not, i guess i could hook it up with a smart plug and power cycle that.. very hacky though and probably not great for the electronics of it).

If i did want to do it on my android, how would I even do a split wifi/4G setup for a single app (from a developer's point of view)?

I'm only interested in open source solutions, not interested in proxy services.
 
I just got a SIM card with a data plan, and tried to setup Proxidize legacy on my spare android phone. But aside from it crashing when changing IPs, it also doesn't allow me to tunnel from within my wifi network to my sim's data IP - it's either wifi off and it uses the sim data IP, or wifi on and it uses my wifi IP. I see in the github issues that wifi split backend was discussed, but it seems this was only built into the paid proxidize service, which isn't something I can pay for given that this is a hobby project.

Are there any open source solutions people have found? I only need a single tunnel, I'm not trying to build a farm, so I was thinking I could get a mobile hotspot and power cycle it (ideally if I could find one that allows for remote control via an API, but if not, i guess i could hook it up with a smart plug and power cycle that.. very hacky though and probably not great for the electronics of it).

If i did want to do it on my android, how would I even do a split wifi/4G setup for a single app (from a developer's point of view)?

I'm only interested in open source solutions, not interested in proxy services.
yo have you checked 3proxy or tinyproxy ? there's also srelay but it's kinda old school if you wanna split wifi/4g on android without proxxidize good luck you’d need a custom kernel or hack something with a vpn like socks5 tun via termux if you’re not afraid to get your hands dirty check modem manager + usb tethering on a linux mini pc you’ll get real control and easy ip resets
 
yo have you checked 3proxy or tinyproxy ? there's also srelay but it's kinda old school if you wanna split wifi/4g on android without proxxidize good luck you’d need a custom kernel or hack something with a vpn like socks5 tun via termux if you’re not afraid to get your hands dirty check modem manager + usb tethering on a linux mini pc you’ll get real control and easy ip resets
Funny you mentioned this, I just went down a research hole. I'm a developer so this stuff isn't scary to me, I just didn't know much about it.

The one roadblock i'm hitting is deciding which USB 4G/5G modem to get. I would think a 5G would be more future proof, but I can't find much, and 4G it's hard to figure out exactly what's good, as most USB LTE modems are really old at this point. Any recommendations by chance? I read that a model that supports putting it into stick mode with usb-modeswitch is ideal but again, hard to find recent info.
 
I’ve been messing with OpenVPN and using it on my Android with a 4G connection, it allows you to tunnel while using your wifi for other stuff, not the simplest setup but does the trick for splitting the network like you want
 
Funny you mentioned this, I just went down a research hole. I'm a developer so this stuff isn't scary to me, I just didn't know much about it.

The one roadblock i'm hitting is deciding which USB 4G/5G modem to get. I would think a 5G would be more future proof, but I can't find much, and 4G it's hard to figure out exactly what's good, as most USB LTE modems are really old at this point. Any recommendations by chance? I read that a model that supports putting it into stick mode with usb-modeswitch is ideal but again, hard to find recent info.
yeah if you want something future-proof just go for a 5g usb modem but they’re hard to find in good condition have you checked modems that support stick mode with usb-modeswitch ? otherwise some lte cat 6+ modems still work well but depends on your use case
 
There is no open source solutions. All mobile proxies building solutions are commercial software with a paid license.

By solution I mean a ready to use and well tested software, not just couple of in house developed scripts found on the web.
 
May I ask why you are doing this and what is your use case? There are no ready open source/free solutions out there, so you will have to scrape all the info and come up with solution yourself or pay for some proxy software. Would it not be easier and more profitable to just rent out mobile proxy that fits your needs, rather than buying something. Good 5G modem will cost you more than 1 month of renting. and most likely you don't even need 5G specs.
 
I just got a SIM card with a data plan, and tried to setup Proxidize legacy on my spare android phone. But aside from it crashing when changing IPs, it also doesn't allow me to tunnel from within my wifi network to my sim's data IP - it's either wifi off and it uses the sim data IP, or wifi on and it uses my wifi IP. I see in the github issues that wifi split backend was discussed, but it seems this was only built into the paid proxidize service, which isn't something I can pay for given that this is a hobby project.

Are there any open source solutions people have found? I only need a single tunnel, I'm not trying to build a farm, so I was thinking I could get a mobile hotspot and power cycle it (ideally if I could find one that allows for remote control via an API, but if not, i guess i could hook it up with a smart plug and power cycle that.. very hacky though and probably not great for the electronics of it).

If i did want to do it on my android, how would I even do a split wifi/4G setup for a single app (from a developer's point of view)?

I'm only interested in open source solutions, not interested in proxy services.
You can try setting up a local proxy with custom routing to send specific traffic through mobile data while keeping WiFi on. This may require configuring firewall rules or using a VPN-style tunnel to force certain apps to use the SIM's IP.
 
I completely agree with Shijin -- the answer to your question is OpenVPN if you want to work through a mobile phone. With USB modems, it’s a completely different story
 
Back
Top