Allproxy provides a easy to make your 4g proxy, it suporrts most of platform, and easy to use. And th PC client will create proxy for each your network adapter, it means if you plugged 4g dongles in PC, you will get 4g proxy of it.
The following video is for the old version, but you can also take a view.
- Download and Install allproxy app from google play.
- Click connect button, you will get a proxy address, your phone network is published with this address.
-
I just tested with Huawei E3372, the configurations may need changes for other devices.
-
Download and flash the Image we built, then just plug your 4g device to PI. ImageLink: https://drive.google.com/file/d/1hEBgrKOJUHrlkuPGdjuuNceKZ6mw4cBF/view?usp=sharing , the login info: pi/1qaz@WSX, ssh port: 3789
-
The allproxy client is saved in ~/allproxyClient
-
The proxies info is save in ~/allproxyClient/proxy.info
-
You should update the arm version "allproxyC" in your PI, because the default in Image is too old.
-
If you want juse use local WIFI, you need to run "sudo dhcpcd -4"
-
If you want to do some operations in UI mode, pls run "startx"
- Change the server address in conf_client.yaml or just use my free servers
- Open allproxyC
It will generate a file "proxy.info" in the working directory, which contains the proxies infomation, the content likes:
{"proxies":
{"d3a849f6c55ea765058bc72ded1cfd91":{"connectedAt":"2019-09-03 14:08:08 +0800","proxyUrl":"http://192.168.2.100:53636"},"6d5ada3b1b0f9fadde94c6dc081dba69":{"connectedAt":"2019-09-03 14:08:08 +0800","proxyUrl":"http://192.168.2.100:53625"}}}
- You need to assign [execute] permission for allproxyC in linux env
chmod +x allproxyC
- Install it as daemon service
allproxyC -i
- Check its status
allproxyC -q
If you have multiple network interfaces in your machine(Maybe some 4g dongles/stickers), and you want to speed up the proxy,you can just set field 'localAddr' in conf_client.yaml.
- localAddr , the address should be the IP addre which used to connect with allproxy service, and it will be your wifi adapter IP in most case
localAddr: 192.168.2.46
- conn4.trs.ai:9082 (US)
You can know it by the ip address now.
curl ifconfig.me --interface wwlan1
curl icanhazip.com --interface wwlan1
curl ifconfig.co --interface wwlan1
curl ip.cn --interface wwlan1
-- get IP of a proxy
curl --proxy http://192.168.2.100:53625 ifconfig.me
You can get all valid parameters by:
allproxyC -h
Valid Options:
-h this help
-i install as deamon service
-q query the service status
-s signal send signal to IgerslikeProxy: stop, restart, start
-server string The server address
-u uninstall deamon service
-userId string The user id
-w string The working directory,default is the current directory
If you want to use your self allproxy server to make better security and speed, pls feel free to contact me by email/skype: mailme.xu#gmail.com