shuttle

module
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 24, 2021 License: GPL-3.0

README

Shuttle

ci-test-build Go Report Card

Shuttle是功能小巧代理网关,连通一切,互联万物。

使用

下载执行文件Release 页面

启动服务端

./shuttles -c example/shuttles.yaml

配置参数

#example/shuttles.yaml
addr: 127.0.0.1:4880  #http端口
sslAddr: 127.0.0.1:4843 #https端口
cert: example/s.cyejing.cn_chain.crt #https证书
key: example/s.cyejing.cn_key.key #https证书
passwords:
  - cyejing123 #对应客户端密码
routes: #网关路由
  - id: na0mdwfr0lfuv4rubvt4gsg805uofhhk
    order: 100
    host: .* #正则匹配域名
    loggable: true
    filters:
      - name: resource #本地静态资源
        params:
          root: "./html"
启动客户端

./shuttlec -c example/shuttlec.yaml

配置参数

runType: socks #运行类型socks 代理
localAddr: 127.0.0.1:1080 #本地socks5代理
remoteAddr: 127.0.0.1:4843 #服务器地址
password: cyejing123 #对应服务器密码

浏览器设置socks5代理

Enjoy

Directories

Path Synopsis
cmd
shuttlec command
shuttles command
core
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL