[DIY] How To Create Your Own 4G Proxy

My dongle detected as wwan0 instead of usb0 and it does not work. Anyone just like me?
 
Is it really worth that much effort to get a couple of mobile IPs from around the corner when you can get residential/mobile IPs from around the world for cheap money?
Where can i get mobile ips?
 
that means you got a old dongle buy a new one with web interface example e3372, e3351 or any higher number.
No, it means they just use a different dev port.. Dongles that connects through wwan0 can be used as well without any issues.
 
va bene anche gestire BM? quanti ne posso gestire con un singolo porxy?
 
No, it means they just use a different dev port.. Dongles that connects through wwan0 can be used as well without any issues.

they can but you need to dial them like ppp0 dongles, i personally find that those are headache.
eth or usb are more easy and less headache but everything is possible.
 
they can but you need to dial them like ppp0 dongles, i personally find that those are headache.
eth or usb are more easy and less headache but everything is possible.
I have 5 dongles with wwan, they all have web UI and they work exactly the same as others.

It depends on the dongles software, IF they have the webui, they will do just fine, even with wwan0
 
Hi there all,

Has anyone recently tried setting up his/her 4G proxies using this tutorial? I am having some problems and I am out of ideas.
So, going straight to the point:

My setup:
Raspberry Pi 4 4GB
Huawei E3372h-320

The first thing I have noticed is that when I type "ifconfig" in my terminal, I am getting eth0, eth1 devices instead of usb0, usb1.
Picture:
2021-08-11-172146_655x593_scrot.png
So, I am guessing that my Huawei dongle is eth1, because when I try to enter "sudo curl -s https://wtfismyip.com/text --interface eth1" in terminal - I am getting the IP of that dongle.

If I am trying to use OP's settings in "startproxy.sh" - I am getting these 4 errors:
Picture:
2021-08-11-172702_655x593_scrot.png

However, if I change "usb0" in "startproxy.sh" file with "eth1", I am getting only these 2 errors:
Picture:
2021-08-11-172328_655x593_scrot.png

And this is how "startproxy.sh" file looks with my changed "eth1" values.
Picture:
2021-08-11-172432_655x593_scrot.png

I would appreciate it if someone would give me some hints on what I am doing wrong. Thank you in advance!
 
Last edited:
The first thing I have noticed is that when I type "ifconfig" in my terminal, I am getting eth0, eth1 devices instead of usb0, usb1.
"ethX" interfaces refer to your ethernet connections. Your cellular connections should show up as either "usbX" or "wwanX". It appears they are not being recognized for some reason. Are you sure that your modem is supported by your cellular provider (it uses the proper bands)? I think sometimes additional steps need to be taken once it's plugged in, also. Try sending an AT^NDISDUP=1,1 command to the modem.

Code:
$ apt-get install socat
$ socat - /dev/ttyUSB0
> AT^NDISDUP=1,1
 
Thanks for the guide it’s awesome. Quick question… at my home my wife shares the internet as well via the modem, you mentioned about needing to connect the Rassbery PI to the modem, will that not affect the internet and cause lag though or am I totally wrong?
 
Thanks for the guide it’s awesome. Quick question… at my home my wife shares the internet as well via the modem, you mentioned about needing to connect the Rassbery PI to the modem, will that not affect the internet and cause lag though or am I totally wrong?

No won't affect it, the rpi just use the internet of the modem like a pc use, no worries.
 
Back
Top