[DIY] How To Create Your Own 4G Proxy

Hello guys, thanks (to the real authors) for this info.

Got a question though. I've read through the pages but still can't understand the need for a Raspberry.

If I'm going to buy a dongle, can't I just connect it directly to the computer and use it's 4g connection? Why do I need a Raspberry for?
you need the raspberry to make it a proxy to use with bots. yes to can also use dongle directly to the pc and turn off wifi but thats just one 4G. when we make proxy we make more than 1 to use with multiple accounts. Hope this helped you.
 
pi@raspberrypi:~ $ sudo ./startproxy.sh
./startproxy.sh: 1: Sudo: not found
Let's setup the routes for the proxy
Error: either "to" is duplicate, or "gw1" is a garbage.
Error: Nexthop has invalid gateway.
Let's start the proxy

how to solve this error
 
pi@raspberrypi:~ $ lsusb
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 2c7c:0125 Quectel Wireless Solutions Co., Ltd. EC25 LTE modem
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

anyone know how to change the modle 0125 to 1405?
 
Thanks for share, always been interested in this stuff. A bit hard to find dongles nowadays though, atleast in my country!
 
What is the limit of dongles connected to a raspberry Pi?
surely it isnt: 1 raspberry Pi = 1 dongle, right?

asking because there has to be a way to have multiple dongles (IPs) per raspberry Pi, since the people at proxidize (BetterKnow)
have a limit of 20 dongles per 1 "mini server" / raspberry Pi
 
What is the limit of dongles connected to a raspberry Pi?
surely it isnt: 1 raspberry Pi = 1 dongle, right?

asking because there has to be a way to have multiple dongles (IPs) per raspberry Pi, since the people at proxidize (BetterKnow)
have a limit of 20 dongles per 1 "mini server" / raspberry Pi
the trick is to turn you rasberry pi into linux (Ubuntu) and than you can have 10-20 proxies. on 1 rpi. also must have good quality hub that is powered.
 
the trick is to turn you rasberry pi into linux (Ubuntu) and than you can have 10-20 proxies. on 1 rpi. also must have good quality hub that is powered.
getting my raspberry Pi 4B 4GB in a couple days, have a dongle will buy another one to try your guide.

Does this setup still work?
is there an option to setup mobile phones as 4G ips somehow using raspberry Pi?
 
I do all steps with the corrections suggested by the membres but i still can't acces to internet and i get : " 502 BAD GATEWAY "
 
I'm going to give this a bash !
the trick is to turn you rasberry pi into linux (Ubuntu) and than you can have 10-20 proxies. on 1 rpi. also must have good quality hub that is powered.
Do you need a rasberry pi or can you just use an Ubuntu server ? :)
 
I have a problem with this setup.

I follow all the steps:

1. port forwarding port 3128 in my home router to my raspberry (with a static LAN IP ofc)
2. all other steps too
3. I fixed this mistake, where "table" should have been added, and instead of Pi entered my system name

Sudo echo "Let's setup the IP"

sudo ifconfig usb0 192.168.0.100

sleep 2

sudo echo "Let's setup the routes for the proxy"

sudo ip route add 192.168.0.0/24 dev usb0 src 192.168.0.100 table gw1

sudo ip route add default via 192.168.0.1 dev usb0 table gw1

sudo ip rule add from 192.168.0.100/32 table gw1

sudo ip rule add to 192.168.0.100/32 table gw1

sleep 5

sudo echo "Let's start the proxy "

sudo 3proxy /home/system name/3proxy.cfg

4. after entering "sudo ./startproxy.sh" it shows this:

startproxyy.jpeg

after that I enter "ifconfig" and the IP address has changed - which would indicate that it works.

ifconfig.jpeg

Then I start thinking wow this is it, I may have finally done this.
But NOPE, when I try to connect to the proxy I made following the instructions in the guide:

Example: 111.892.654.127:3128:root:pass

111.892.654.127 - home routers IP (not my real IP)
3128 - port
root - name
pass - password

It does not work.
Would greatly appreaciate any help or suggestions on what I did wrong.

Happy to answer any question on the setup and files in usage (3proxy.cfg and startproxy.sh)

the trick is to turn you rasberry pi into linux (Ubuntu) and than you can have 10-20 proxies. on 1 rpi. also must have good quality hub that is powered.
here is my problem im facing :/
 
I have a problem with this setup.

I follow all the steps:

1. port forwarding port 3128 in my home router to my raspberry (with a static LAN IP ofc)
2. all other steps too
3. I fixed this mistake, where "table" should have been added, and instead of Pi entered my system name

Sudo echo "Let's setup the IP"

sudo ifconfig usb0 192.168.0.100

sleep 2

sudo echo "Let's setup the routes for the proxy"

sudo ip route add 192.168.0.0/24 dev usb0 src 192.168.0.100 table gw1

sudo ip route add default via 192.168.0.1 dev usb0 table gw1

sudo ip rule add from 192.168.0.100/32 table gw1

sudo ip rule add to 192.168.0.100/32 table gw1

sleep 5

sudo echo "Let's start the proxy "

sudo 3proxy /home/system name/3proxy.cfg

4. after entering "sudo ./startproxy.sh" it shows this:

View attachment 219746

after that I enter "ifconfig" and the IP address has changed - which would indicate that it works.

View attachment 219745

Then I start thinking wow this is it, I may have finally done this.
But NOPE, when I try to connect to the proxy I made following the instructions in the guide:

Example: https://www.whatismyip.com/151.252.244.127/:3128:root:pass

https://www.whatismyip.com/151.252.244.127/ - home routers IP (not my real IP)
3128 - port
root - name
pass - password

It does not work.
Would greatly appreaciate any help or suggestions on what I did wrong.

Happy to answer any question on the setup and files in usage (3proxy.cfg and startproxy.sh)


here is my problem im facing :/
sudo and not Sudo
 
Wow such insightful content! Have always wondered how 4G proxies worked, been using them for ages. Will definitely give this a test! Thank you $$$
 
Here ya go, this https://www.youtube.com/watch?v=SnUaaPy-KYo might work for you.
 
Here ya go, this LINK might work for you.
all these "just type in this script" guides are usually BS.
Im not looking for a paid subscription, im doing this to have my OWN 4G proxies and to save money.

not to pay a guy EVERY MONTH for literally doing what I can do for free.

saying so, I will give it a shot, and maybe im wrong.
maybe this guide is totally free and includes IP rotation too.
 
Last edited:
I have a problem with this setup.

I follow all the steps:

1. port forwarding port 3128 in my home router to my raspberry (with a static LAN IP ofc)
2. all other steps too
3. I fixed this mistake, where "table" should have been added, and instead of Pi entered my system name

Sudo echo "Let's setup the IP"

sudo ifconfig usb0 192.168.0.100

sleep 2

sudo echo "Let's setup the routes for the proxy"

sudo ip route add 192.168.0.0/24 dev usb0 src 192.168.0.100 table gw1

sudo ip route add default via 192.168.0.1 dev usb0 table gw1

sudo ip rule add from 192.168.0.100/32 table gw1

sudo ip rule add to 192.168.0.100/32 table gw1

sleep 5

sudo echo "Let's start the proxy "

sudo 3proxy /home/system name/3proxy.cfg

4. after entering "sudo ./startproxy.sh" it shows this:

View attachment 219746

after that I enter "ifconfig" and the IP address has changed - which would indicate that it works.

View attachment 219745

Then I start thinking wow this is it, I may have finally done this.
But NOPE, when I try to connect to the proxy I made following the instructions in the guide:

Example: 111.892.654.127:3128:root:pass

111.892.654.127 - home routers IP (not my real IP)
3128 - port
root - name
pass - password

It does not work.
Would greatly appreaciate any help or suggestions on what I did wrong.

Happy to answer any question on the setup and files in usage (3proxy.cfg and startproxy.sh)


here is my problem im facing :/



I didn't read through the whole thing, but 2 problems arise immediately:

  1. Are you sure usb0 is your interface name?
  2. "sudo" and not "Sudo"
 
I didn't read through the whole thing, but 2 problems arise immediately:

  1. Are you sure usb0 is your interface name?
  2. "sudo" and not "Sudo"
found a way to fix it. it works now from my LAN, and its okay since its only for myself and not for sale.

I will try to find out a way to increase the speed, since its a bit slower than I thought.
 
found a way to fix it. it works now from my LAN, and its okay since its only for myself and not for sale.

I will try to find out a way to increase the speed, since its a bit slower than I thought.

Make sure you have a good upload speed on your router and modem. It's vital for your proxy speed.
 
Wow what a crazy setup you have. We commend you for the effort - let's hope your proxies last and stay unblocked :P We've bookmarked for future use :)
 
Back
Top