Skip to content
forked from beshoo/4gproxy

The most easy way to build yourself 4g proxy

Notifications You must be signed in to change notification settings

smartwifivn/4gproxy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

DEMO

NewVersion

PC GUI Client

Android

  1. Download and Install allproxy app from google play.
  2. Click connect button, you will get a proxy address, your phone network is published with this address.

4g Dongles

  1. We had just tested with Huawei E3372, E8372, E3276,CLR900A
  2. It should also works with others, but we need to write script to do IP refresh on the other devices.

Raspberry PI

  1. I just tested with Huawei E3372, the configurations may need changes for other devices.

  2. 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

  3. The allproxy client is saved in ~/allproxyClient

  4. The proxies info is save in ~/allproxyClient/proxy.info

  5. You should update the arm version "allproxyC" in your PI, because the default in Image is too old.

  6. If you want juse use local WIFI, you need to run "sudo dhcpcd -4"

  7. 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...

  1. Change the server address in conf_client.yaml or just use my free servers
  2. 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

  1. You need to assign [execute] permission for allproxyC in linux env
chmod +x allproxyC
  1. Install it as daemon service
allproxyC -i
  1. 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

About

The most easy way to build yourself 4g proxy

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 94.2%
  • Shell 4.2%
  • C 1.6%