[Q] How do you build your own 4g (mobile) proxy network?

Should be good, but only with testing and time you will know, it's a big project, start small, and test. take it easy, it will require lots of time
 
My English is weak but you ask me what you don't know.
Raspberry Pi:
install raspbian, config static ip for wifi or ethernet, install wvdial and usb-modeswitch, install 3proxy from github (important - last beta version).
Modem 3g/4g - best option use Huawei, It is helpful to turn off the cd drive in the modem (i can't add links but please use google and "Disable virtual CD-ROM drive with built in software on Huawei"

now - config
example /etc/wvdial.conf

[Dialer P0]
Modem=/dev/ttyUSB0
Phone = *99***1#
Username = "blank"
Password = "blank"
New PPPD = yes
Stupid Mode = 1
Dial Command = ATDT

[Dialer P1]
Modem=/dev/ttyUSB3
Phone = *99***1#
Username = "blank"
Password = "blank"
New PPPD = yes
Stupid Mode = 1
Dial Command = ATDT

[Dialer P2]
Modem=/dev/ttyUSB6
Phone = *99***1#
Username = "blank"
Password = "blank"
New PPPD = yes
Stupid Mode = 1
Dial Command = ATDT

and add dialer for all modems, you need modification this section for your modem and provider.
Next tuch file ppp0 , ppp1, ppp2 etc in /etc/network/interfaces.d/

example ppp0:

auto ppp0
iface ppp0 inet wvdial
provider P0 #this is dialer name from wvdial.conf

example ppp1

auto ppp1
iface ppp1 inet wvdial
provider P1 #this is dialer name from wvdial.conf

Now time to 3proxy.conf, add lines:


proxy -a -i192.168.1.15 -p3128 -Deppp0
proxy -a -i192.168.1.15 -p3129 -Deppp1
proxy -a -i192.168.1.15 -p3130 -Deppp2

-a - anonymous
-i - RPi local ip
-p -proxy port
-De - modem

-good luck-

Hi @gebir ,I followed your steps now how I will get my proxy ip?is it my raspberry pi ip address or my 4g internet ip address? Do I need to use this command "sh /etc/3proxy/scripts/rc.d/proxy.sh start" to start my proxy server? Your help will be appreciated.I am struggling with that around one week.But now luck.Thank you.
 
Hi @gebir ,I followed your steps now how I will get my proxy ip?is it my raspberry pi ip address or my 4g internet ip address? Do I need to use this command "sh /etc/3proxy/scripts/rc.d/proxy.sh start" to start my proxy server? Your help will be appreciated.I am struggling with that around one week.But now luck.Thank you.
1. Script don't work for me, i'm add 3proxy to rc.local ... i know - i'm noob
2. IP ? Easy version - open webbrowser on computer, install addons for proxy, connect it, open site like what is my ip.
 
1. Script don't work for me, i'm add 3proxy to rc.local ... i know - i'm noob
2. IP ? Easy version - open webbrowser on computer, install addons for proxy, connect it, open site like what is my ip.
Thanks for answer.You are not noob man ,you are genius.:).But I have some question.How do you add "3proxy to rc.local"? What ip i will add in 3proxy.conf file?Is it my RPi IP ?My rpi ip is :192.168.1.13.Will this ip will be my proxy ip?
Thank you
 
Thanks for answer.You are not noob man ,you are genius.:).But I have some question.How do you add "3proxy to rc.local"? What ip i will add in 3proxy.conf file?Is it my RPi IP ?My rpi ip is :192.168.1.13.Will this ip will be my proxy ip?
Thank you
Example:
"proxy -a -i192.168.1.15 -p3128 -Deppp0"
192.168.1.15 - your rpi ip
ppp0 - your modem

about rc.local i put this line above "exit 0"
/bin/3proxy /usr/local/3proxy/conf/3proxy.cfg
 
The method posted in the medium link is working perfectly. I tethered my phone to my mac via usb and created the proxy with squid. Routed all connections to the proxy through the tethered connection.
 
My English is weak but you ask me what you don't know.
Raspberry Pi:
install raspbian, config static ip for wifi or ethernet, install wvdial and usb-modeswitch, install 3proxy from github (important - last beta version).
Modem 3g/4g - best option use Huawei, It is helpful to turn off the cd drive in the modem (i can't add links but please use google and "Disable virtual CD-ROM drive with built in software on Huawei"

now - config
example /etc/wvdial.conf

[Dialer P0]
Modem=/dev/ttyUSB0
Phone = *99***1#
Username = "blank"
Password = "blank"
New PPPD = yes
Stupid Mode = 1
Dial Command = ATDT

[Dialer P1]
Modem=/dev/ttyUSB3
Phone = *99***1#
Username = "blank"
Password = "blank"
New PPPD = yes
Stupid Mode = 1
Dial Command = ATDT

[Dialer P2]
Modem=/dev/ttyUSB6
Phone = *99***1#
Username = "blank"
Password = "blank"
New PPPD = yes
Stupid Mode = 1
Dial Command = ATDT

and add dialer for all modems, you need modification this section for your modem and provider.
Next tuch file ppp0 , ppp1, ppp2 etc in /etc/network/interfaces.d/

example ppp0:

auto ppp0
iface ppp0 inet wvdial
provider P0 #this is dialer name from wvdial.conf

example ppp1

auto ppp1
iface ppp1 inet wvdial
provider P1 #this is dialer name from wvdial.conf

Now time to 3proxy.conf, add lines:


proxy -a -i192.168.1.15 -p3128 -Deppp0
proxy -a -i192.168.1.15 -p3129 -Deppp1
proxy -a -i192.168.1.15 -p3130 -Deppp2

-a - anonymous
-i - RPi local ip
-p -proxy port
-De - modem

-good luck-
@gebir,Nice share.Can you explain the 3proxy install and configuration file.Thanks
 
Scenario i am overseas and i have someone with a simple mobile droid connection in usa. I have used team viewer to get access into usa accounts thrugh that. Im wanting to turn that into squid proxy server i guess and control from overseas.i feel like you can control your destiny better if you make ips proxies yourself. There was a artice from multi login but is gone. I would like to up the anty as i have interest in making reviews on google
 
My English is weak but you ask me what you don't know.
Raspberry Pi:
install raspbian, config static ip for wifi or ethernet, install wvdial and usb-modeswitch, install 3proxy from github (important - last beta version).
Modem 3g/4g - best option use Huawei, It is helpful to turn off the cd drive in the modem (i can't add links but please use google and "Disable virtual CD-ROM drive with built in software on Huawei"

now - config
example /etc/wvdial.conf

[Dialer P0]
Modem=/dev/ttyUSB0
Phone = *99***1#
Username = "blank"
Password = "blank"
New PPPD = yes
Stupid Mode = 1
Dial Command = ATDT

[Dialer P1]
Modem=/dev/ttyUSB3
Phone = *99***1#
Username = "blank"
Password = "blank"
New PPPD = yes
Stupid Mode = 1
Dial Command = ATDT

[Dialer P2]
Modem=/dev/ttyUSB6
Phone = *99***1#
Username = "blank"
Password = "blank"
New PPPD = yes
Stupid Mode = 1
Dial Command = ATDT

and add dialer for all modems, you need modification this section for your modem and provider.
Next tuch file ppp0 , ppp1, ppp2 etc in /etc/network/interfaces.d/

example ppp0:

auto ppp0
iface ppp0 inet wvdial
provider P0 #this is dialer name from wvdial.conf

example ppp1

auto ppp1
iface ppp1 inet wvdial
provider P1 #this is dialer name from wvdial.conf

Now time to 3proxy.conf, add lines:


proxy -a -i192.168.1.15 -p3128 -Deppp0
proxy -a -i192.168.1.15 -p3129 -Deppp1
proxy -a -i192.168.1.15 -p3130 -Deppp2

-a - anonymous
-i - RPi local ip
-p -proxy port
-De - modem

-good luck-


I can't seem to find where 3proxy.conf is. I only see 3proxy.cfg. Can you help me with this?
 
hello bro , did you find a solution for that since i need it ?? i have multi account too so i need to manage them with multi 4G internet because Internet and data is so cheap in my country
 
I don't think there is a cheap way to do it, at the moment the technology and subscription is too high.
 
Hi,

This post caught my attention. I have been working on the large scale solution, as I prefer to use mobile IPs over data center IPs.

I believe I have a solution that is nearly idiot-proof. (no raspberry Pi, etc.)

Will post the details in several weeks.

Stay tuned.
 
hello bro , did you find a solution for that since i need it ?? i have multi account too so i need to manage them with multi 4G internet because Internet and data is so cheap in my country
just airplane mode on offf make sure you have new ip by going whats my ip google, as farr as separating accounts im working on that too I think virtual box is a good cheap solution, I also hear samara weblab but I havent bought it yet
 
can anyone tell me why we need vps and cant just go open vpn from pc to phone, I cant wrap my head around this
 
from my understanding a vps is needed any cheap one will work . closer to you the better. here are instructions, in pdf
@cash4auto How many IG accounts are you managing to run on this? And is the SIM and Android Phone manageing to process all the requests? I setup something similar but was only squeezing 30% of actions from it over 5 accounts. 1-2 accounts woud probably be ok as @redarrow mentioned.
 
im actually not into ig , I might take a look at it but this is for other accounts
 
My custom mobile IP system (multi-lines) is running pretty well. Much better than data center IPs (I own several thousands IPv4 IPs and trillions of IPv6 IPs for my internal use and my private customers).

I also noticed that that if the mobile data sevices with 4G celluar connection are very close to high density location, it gets new IPs for every refresh request. Haven't see same IP in a while.

The mobile IP system is very expensive to set up...but it is valuable for reliable IP access, especially when dealing with CL, IG, FB, etc.
 
The mobile IP system is very expensive to set up...but it is valuable for reliable IP access, especially when dealing with CL, IG, FB, etc.

Stoked to be hearing the progress! When you say expensive... how expensive are we talking?
 
My custom mobile IP system (multi-lines) is running pretty well. Much better than data center IPs (I own several thousands IPv4 IPs and trillions of IPv6 IPs for my internal use and my private customers).

I also noticed that that if the mobile data sevices with 4G celluar connection are very close to high density location, it gets new IPs for every refresh request. Haven't see same IP in a while.

The mobile IP system is very expensive to set up...but it is valuable for reliable IP access, especially when dealing with CL, IG, FB, etc.

I am also building similar infra. How do send "refresh request"?
Only way i know is restarting the modem .
 
Back
Top