Coder Social home page Coder Social logo

fgsurfing's Introduction

FGProxy

Master

FGProxy 是一个企业级 4G 代理程序。它是一个比树莓派实现的4g代理程序更稳定的代理程序。它摒弃了物联网卡的缺点,使用了真正的 4G 手机卡来实现,部署实现都非常的简单。

文档可能比较简洁,部署失败的可以邮件联系我,或者找我远程协助搭建,有啥问题也可以在 issues 里面提出。

有兴趣的同学可以尝试使用 haproxy + prometheus + grafana 做个代理的监控,还是非常不错的!

bridge.py 可以单独运行在任何服务器上,那么运行 bridge.py 的服务器也可以作为代理使用,如果你想测试,可以通过这个方式

Overall structure

The following logic is then triggered:

Master

HAPROXY STATUS

Master


Before You Begin

  1. Install lineageos at Google Pixel
  2. The mobile phone must use a mobile phone that can execute adb root, I use Google Pixel,My system is lineageos
  3. Before using this program, you need to confirm that your phone has been configured according to the link below How-do-I-run-python-on-Android-devices
  4. Then you can execute the Fgproxy program. After the execution is completed, the port will be mapped to 30000, 30001, 30002... The number of ports is the number of devices
  5. After that, configure haproxy for load balancing Haproxy
  6. Since the machine is in our local area, we need to do intranet penetration to forward the local haproxy load balancing port, here we need FRP

The above is the overall configuration process. After the configuration is completed, the frp exit is our proxy port, which can be used in the crawler.

Create

$ git clone https://github.com/Kr1s77/FgSurfing.git
$ cd FgSurfing/proxy
$ python3 api.py
>> [2021-07-15 14:22:32,522 INFO]  ->  Count: [1] Devices Found
>> [2021-07-15 14:22:32,522 INFO]  ->  Deploy device: FAXXXXXXX  1/1
Currently most of it has been completed

Anyone is welcome to participate and improve one person can go fast, but a group of people can go further

fgsurfing's People

Contributors

kr1s77 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.