How to build youself 4g proxies

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.

c3a58e7bf58232dcb27d5e1b7027c747.png

2f1af529c352c91f0ddd44cb7da8db40.png

d5a55086cf04789c59332f3b384870c9.png

Android

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.

4g Dongles

We had just tested with Huawei E3372, E8372, E3276

It should also works with others, but we need to write script to do IP refresh on the other devices.

Raspberry PI

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"

You can also install it with the following command:

wget https://nxu_xa.coding.net/p/allp/d/allp/git/raw/master/Linux/N1/install.sh

chmod +x install.sh

sudo ./install.sh

Windows/MacOs/Raspeberry/openWrt/Other Linux...

Change the server address in conf_client.yaml or just use my free servers

Open allproxyC

Where can I get the proxies address

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"}}}

Install PC client as service

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

Advance usage

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

Free Server

conn4.trs.ai:9082 (US)

How can I know which proxy is which device

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

Help

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

Contact me

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

Logo

华为开发者空间,是为全球开发者打造的专属开发空间,汇聚了华为优质开发资源及工具,致力于让每一位开发者拥有一台云主机,基于华为根生态开发、创新。

更多推荐