Coder Social home page Coder Social logo

cf-worker-socks's Introduction

cfproxy-plus

A socks5 proxy server deployed on the Cloudflare Worker

Cloudflare Worker 代理工具

使用

  • 将worler.js里passwd的变量值修改后复制全部内容到Worker部署.
  • 在程序目录下面新建一个config.txt文件, 输入类似下面的配置内容:

{"domain":"a.com","psw":"passwd value","sport":1080,"sbind":"127.0.0.1","wkip":"","byip":"","cfhs":["ipip.net",""]}

  • domain: worker绑定的域名 (必填)
  • psw: 与worker.js里的passwd变量相同值 (必填)
  • sport: 本地绑定的socks5端口
  • sbind: 本地绑定的地址, 一般为 127.0.0.1
  • wkip: 为本地连接到worker指定优选的IP, 不指定则不优选IP
  • byip: 指定未被worker屏蔽的Cloudflare anycast IP, 不指定则通过本地连接
  • cfhs: 指定特定域名为worker屏蔽的域名

运行程序后将在本地机器开启一个socks5代理端口,浏览器或应用程序设置代理到此端口即可代理上网

推荐: Windows上可使用Proxifier来为需要代理的程序强行指定代理

兴趣群组

License

(The MIT License)

Copyright (c) 2023 DNetL <[email protected]>

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

cf-worker-socks's People

Contributors

dnetl avatar

Stargazers

masx200 avatar

Watchers

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