Code Monkey home page Code Monkey logo

proxy-web's Introduction

proxy-web详细介绍

proxy-web是用go语言写的,基于snail007/goproxy完成的可视化网页应用


stable

使用前须知

手册目录

作用

1、 用web界面的方式使用goproxy,更加方便
2、 监控goproxy运行情况
3、 实时显示goproxy产生的日志
4、 能自启动goproxy

下载

下载地址

配置

配置文件为config/config.ini   可以配置的属性有:端口(默认28080),goproxy的路径(默认snail007/goproxy路径在proxy-web目录下的proxyService目录内),登录账号和密码(都为admin)  

依赖包

github.com/boltdb/bolt使用bolt扩展为数据库
github.com/Unknwon/goconfig解析配置文件
github.com/astaxie/beego/tree/master/session session模块
这些依赖已经在源码内解决,无需go get

1.使用

使用28080端口进入页面(如:localhost:28080),首先到登录页面

账号密码都为admin,登录进入
  点击,添加代理,显示添加代理的弹框,可以选择代理是否开启proxy-web服务时也自动启动
代理添加完成后可执行修改、删除、启用和显示日志的操作

2.参数介绍

代理协议:需要用到的协议 如http, tcp等协议。
本地连接类型:-t参数。
链式代理:本地连接的类型,“顶级代理”不需要填写“上级服务器+端口”。
代理服务器+端口:-p参数。
上级服务器+端口:-P参数。
父级连接类型:-T参数 ,选取后可能会有不同的加密方式,上传文件的加密方式会有默认文件,tcp形式默认不加密。
参数具体怎样使用请查看goproxy手册

2.1.http参数

tls形式加密:-C .crt文件 和 -K .key文件
ssh形式加密:有密钥和密码两种方式,-u 用户名 -A 密码 -S 私钥文件 -s 私钥密码
kcp形式加密:-B 密码

path to proxy/proxy http -t tcp -p :8081

path to proxy/proxy http -t tls -p :8081 -T tls -P 2.2.2.2:8081 -C path to file/proxy.crt -K path to file/proxy.key

2.2.tcp参数

tls形式加密:-C .crt文件 和 -K .key文件
kcp形式加密:-B密码

path to proxy/proxy tcp -t tls -p :8081 -T tls -P 2.2.2.2:8081 -C path to file/proxy.crt -K path to file/proxy.key

2.3.udp参数

没有加密模式
“本地连接类型”只有udp模式  
path to proxy/proxy udp -p :8081 -T tls -P 2.2.2.2:8081 -C path to file/proxy.crt -K path to file/proxy.key

2.4.socks参数

tls形式加密:-C .crt文件 和 -K .key文件
ssh形式加密:有密钥和密码两种方式,-u 用户名 -A 密码 -S 私钥文件 -s 私钥密码
kcp形式加密:-B 密码

path to proxy/proxy socks -t tcp -p :8081 -T kcp -P 2.2.2.2:8081 -B 1234

2.5.client参数

只有tls形式的加密且必须加密
tls形式加密:-C .crt文件 和 -K .key文件
path to proxy/proxy client -P ":8081" -C path to file/proxy.crt -K path to file/proxy.key
“上级服务器+端口”填写的内容无效

2.6.server参数

只有tls形式的加密且必须加密
tls形式加密:-C .crt文件 和 -K .key文件
“代理服务器+端口”代表-r参数  
path to proxy/proxy server -r "udp://:10053@:53" -P "2.2.2.2:8081" -C path to file/proxy.crt -K path to file/proxy.key

2.7.bridge参数

只有tls形式的加密且必须加密
tls形式加密:-C .crt文件 和 -K .key文件

path to proxy/proxy bridge -P ":8081" -C path to file/proxy.crt -K path to file/proxy.key
“上级服务器+端口”填写的内容无效

源码使用

  • git下载源码    

TODO

  • -L参数进程池
  • server -r参数分解

License

  • under GPLv3 license

Contact

  • QQ群:189618940

proxy-web's People

Contributors

yincongcyincong avatar

Watchers

James Cloos avatar DS avatar 时易创享 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.