A small unit providing proxy services over mobile 4G network. Does not need connection to a router. All traffic goes in and out through mobile network.
Unit comes configured with all software installed and accounts created. Insert a SIM card, plug into a power supply, ready to go! Proxy services await client connection on a server. Connect to the server SOCKS5 port and the unit will take you out to the Internet via SOCKS5 proxy, connect to the VNP port and the unit will use its VNP server. Public IP address can be changed on demand.
How client thinks it works:
________ ______ VPN
| client | ---------> | unit | --------> [website]
|________| services |______| proxy
How it actually works:
[website] <-------------> [website]
proxy | VPN
|
______ (( o )) ________ ________
| unit | -----> /_\ -----------> | server | <--------- | client |
|______| 4G /\_/\ SSH tunnel |________| services |________|
- SSH access
- HTTP proxy
- SOCKS proxy
- VPN
- IP changing
- RaspberryPI board (Pi Model B or better)
- Huawei 4G modem (E3372 or E8372)
- SD memory card (4GB or better)
- Power supply (5V 1A or better)
Do not remove or attach any parts of the unit while the power is on.
You can find your configuration on the unit slip. Assuming the unit was configured for:
- user
mp007 - port
3000 - server
example.org - password
secret
- Host
pi@example.org - Password
secret
ssh -p 3000 pi@example.org
scp -P 3000 file_to_upload pi@example.org~/
scp -P 3000 pi@example.org~/file_to_download .
Do not just unplug it from the power supply.
- Login to the unit
- Reboot
sudo reboot - Shut down
sudo shutdown -h now
To change the password for SSH, Control Panel and Proxy:
- Login to the unit
cd ~/mobile-proxy/unit./change-pwd.sh new_password
Be careful, the unit will not come online after reboot if:
- Invalid user was used
- Invalid port was used
To update:
- Login to the unit
sudo apt-get updatesudo apt-get upgrade -ycd ~/mobile-proxy/bin./git-pull.shpython3 setup.py mp007 3000- Reboot for changes to take effect
sudo reboot
Be careful, the unit will not come online after reboot if:
- Invalid new user was used
- Invalid port was used
- The server did not accept a new key
- Any other technical fault
It is better to leave the existing key or to have the unit connected with a network cable just in case if something goes wrong.
To re-configure:
- Login to the unit
cd ~/mobile-proxy/binpython3 setup.py new_user new_portcd ~/mobile-proxy/unit./change-key.sh- Reboot for changes to take effect
sudo reboot
By default all services are enabled. VPN and SOCKS services do not support authentication, disable if not using.
Valid service names:
httpsocksvpn
To enable or disable a service:
- Login to the unit
cd ~/mobile-proxy/unit./service.sh enable service_name./service.sh disable service_name- Reboot for changes to take effect
sudo reboot
Use admin / secret to authenticate when prompted.
- Login to Control Panel
Modemsection. - Click
My IPto display the current IP address. - Click
Reconnectand wait for one minute (the connection will go down). - Refresh the page and click
My IPagain. If the new IP is the same then this SIM card does not support IP changing via reconnect. ClickRebootand wait for one minute until the connection is restored. Public IP should be changed for sure.
- Login to the unit
cd ~/mobile-proxy/bin./git-pull.sh- Reboot for changes to take effect
sudo reboot
Use from within a browser.
Proxy configuration:
- Type
HTTP - Host
example.org - Port
3002 - Authentication
proxy / secret
Use from within a browser.
Proxy configuration:
- Type
SOCKS5 - Host
example.org - Port
3003 - Authentication not supported
- Install OnenVPN client
- Download setup from the unit:
scp -P 3000 pi@example.org:~/mobile-proxy/unit/mp.ovpn . - Use this
OVPNfile to configure the client:- Give profile a proper name such as
Mobile Proxy - Edit the profile and type
example.orgintoServer Override
- Give profile a proper name such as
VPN configuration:
- Host
example.org - Port
3004 - Authentication not supported
Setup your environment to use one of the proxy services.
- Query Browser Leaks for more details
- Speed test with Broadband Speed Checker
Login to the unit.
- SSH tunnels
ps aux | grep ssh - Open ports
netstat -an | grep LISTEN - Control Panel log
tail -f ~/mobile-proxy/change-ip/output/weblet.log
If the unit is not reachable:
- Modem is not connected or has no signal
- SIM card has no data left or expired
- Server is down
- Router has no Internet connection
- Unit was shut down or has no power
- Unit technical fault
Connectivity issues can be solved by attaching the unit with a network cable:
- Wait for
DHCPto revolve the connection ssh pi@raspberrypi.local- Solve the issue or contact support
If software was damaged, a newly configured SD card can bring it back online. Power off, swap the SD cards, power on.
This code is open source software licensed under the GNU Lesser General Public License v3.