1 Star 0 Fork 4

opsfast / go-to-internet

forked from Luna / go-to-internet 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
BSD-3-Clause

go-to-internet

介绍

基于TLS协议的代理服务器

特性:

  • 简单:启动服务器简单、启动客户端简单,内置了对acme工具的支持,可快速申请https证书
  • 安全:基于TLS加密信息传输,除了会话两端无法获取通信内容
  • 快速:极简的代理握手协议,快速建立客户与目标的双向通道
  • 支持多用户:在单域名以及端口下支持创建多用户
  • 用户管理:每个用户支持对过期时间、传输速度、连接数量进行限制

安装说明

一、下载二进制包

根据需要下载服务器、客户端的二进制包,服务器的二进制包内包含manager-go-to-net工具

二、手动安装

拉取git仓库,分别build服务器与客户端

服务器:go build src/main/ser-go-to-net

管理工具:go build src/main/manager-go-to-net

客户端:go build src/main/cli-go-to-net

使用说明

  • ser-go-to-net 代理服务器,服务器命令仅支持在*unix环境下使用,不支持windows环境,客户端请根据系统环境进行下载 运行服务器需要域名与证书,自行购买域名并解析到服务器,可以通过manager-go-to-net管理工具安装acme并申请证书,请使用命令manager-go-to-net --help查看帮助信息

  • manager-go-to-net 管理工具,包含用户管理以及Acme辅助工具

  • cli-go-to-net 代理客户端,根据系统环境选择

本地开发指南

custom-root-ca/ca/certs/cacert.pem根证书添加进系统的根证书库

一、使用local.luna.xin

  • 绑定local.luna.xin域名到本地127.0.0.1
  • 运行服务器ser-go-to-net -H local.luna.xin -c cert/server.pem -k cert/server.key启动

二、自定义域名

  • 通过custom-root-ca签发自定义域名证书
  • 运行服务器ser-go-to-net -H 域名 -c 证书pem路径 -k 证书key路径启动
BSD 3-Clause License Copyright (c) 2020, Luna All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

简介

简单、安全、快速的透明代理服务器 展开 收起
Go
BSD-3-Clause
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Go
1
https://gitee.com/opsfast/go-to-internet.git
git@gitee.com:opsfast/go-to-internet.git
opsfast
go-to-internet
go-to-internet
master

搜索帮助