diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..aabf70e --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2017 snail007 + +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. diff --git a/README.md b/README.md index 37a2891..c253f58 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,12 @@ # goproxy +[![stable](https://img.shields.io/badge/stable-stable-green.svg)](https://github.com/snail007/goproxy/) +[![license](https://img.shields.io/github/license/snail007/goproxy.svg?style=plastic)]() +[![download_count](https://img.shields.io/github/downloads/snail007/goproxy/total.svg?style=plastic)](https://github.com/snail007/goproxy/releases) +[![download](https://img.shields.io/github/release/snail007/goproxy.svg?style=plastic)](https://github.com/snail007/goproxy/releases) + # 30秒简介 proxy是golang实现的高性能http,https,websocket,tcp代理服务器.程序本身可以作为一级代理,如果设置了上级代理那么可以作为二级代理,乃至N级代理.如果程序不是一级代理,而且上级代理也是本程序,那么可以加密和上级代理之间的通讯,采用底层tls高强度加密,安全无特征.代理时会自动判断访问的网站是否屏蔽,如果被屏蔽那么就会使用上级代理(前提是配置了上级代理)访问网站;如果访问的网站没有被屏蔽,为了加速访问,代理会直接访问网站,不使用上级代理. -图文教程 +[图文教程](docs/faststart.md) # 快速使用: 提示:所有操作需要root权限. diff --git a/docs/faststart.md b/docs/faststart.md index f4c6735..24ca3fc 100644 --- a/docs/faststart.md +++ b/docs/faststart.md @@ -1 +1,15 @@ - \ No newline at end of file +这里以vps centos 64位为例子 +Linux 部分 +1.Putty工具(或其他工具) +root登入 +2.下载批量命令文件install_auto.sh(64位的话直接执行这个命令即刻) +#curl -L https://raw.githubusercontent.com/snail007/goproxy/master/install_auto.sh | bash +注意 +这里的install_auto.sh 源码可以下载修改对面版本proxy保存后执行批量命令 + +3.修改/etc/proxy/proxy.toml配置文件 + + + +#/usr/bin/proxyd status +如果未运行那么执行:/usr/bin/proxy