Git Product home page Git Product logo

cf-agent's Introduction

cf-agent

A magent proxy server on Cloudflare Worker

Cloudflare Worker 代理联网

此项目基于 magent

准备工作

  • 注册Worker账号,记录子域。 例如: example.workers.dev
  • 在账户生成 API Token。 操作权限为[Workers Scripts:Edit]
  • 获取 Account ID。
  • 参考文档

安装

  • npm i cf-agent -g

使用

  • 设置参数:
    • cf-agent init
  • 导入证书:
    • 将目录下生成的ca.crt导入到系统受信任的根证书颁发机构或者由浏览器的证书管理器导入
  • 发布到Cloudflare:
    • cf-agent publish
  • 开启本地代理:
    • cf-agent proxy

默认将绑定一个本地HTTP代理服务到本机6580端口,所有HTTP(S)流量经由程序转发HTTPS请求到Worker

提交Bugs

cf-agent's People

Contributors

free-gx avatar

Watchers

 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.