From 44f5c0f46348716de9af749496e0d3ca6fa4513f Mon Sep 17 00:00:00 2001 From: "zhiyong.luo" <33410675+lazy-luo@users.noreply.github.com> Date: Thu, 8 Nov 2018 12:23:55 +0800 Subject: [PATCH] Add files via upload --- readme.cn.md | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 readme.cn.md diff --git a/readme.cn.md b/readme.cn.md new file mode 100644 index 0000000..9216500 --- /dev/null +++ b/readme.cn.md @@ -0,0 +1,46 @@ +# 移动网关 + +提供内网穿透能力,通过加密隧道,能安全的将内网服务暴露出来.
+免费,测试稳定后考虑开源.
+包含一个android客户端和需内网安装的服务端.
+ +使用指南:
+### 1、下载android客户端(app-release.apk)
+### 2、注册新用户(邀请码必填,为数字,可任意填)
+![login](https://github.com/lazy-luo/smarGate/blob/master/res/login.png)
+![register](https://github.com/lazy-luo/smarGate/blob/master/res/register.png)
+### 3、注册成功后请务必记住返回的服务ID(N)
+![register result](https://github.com/lazy-luo/smarGate/blob/master/res/registerok.png)
+### 4、下载内网服务器适合的服务端版本(目前支持linux-x86-32/64,及linux-arm【树莓派、群晖】)
+### 5、解压服务端压缩包,修改配置文件(conf-proxy.xml):
+``` + + + + + + + + + + + +``` +### 6、执行命令: "nohup ./proxy_server -i1000 -o1000 -w8 >/dev/null &"(参数说明 i:最大接入连接数,o:最大接出连接数,w:最大线程数,执行命令前确保为 proxy_server 添加执行权限:chmod +x proxy_server )
+### 7、使用注册时的用户名/密码登陆手机客户端
+![operator](https://github.com/lazy-luo/smarGate/blob/master/res/oper1.png)
+### 8、在客户端中可以看到上线的服务端,可以在客户端上定义端口反弹规则
+![operator](https://github.com/lazy-luo/smarGate/blob/master/res/oper2.png)
+![operator](https://github.com/lazy-luo/smarGate/blob/master/res/oper3.png)
+### 9、电脑或手机可以直接访问手机客户端设置的服务(如ssh、http等)
+## 补充说明:
+* Linux x86 或 x86_64 位版本已经打包了依赖,开箱即用.
+* Linux armv 版本依赖 OpenSSL, 必须确保先安装OpenSSL,且能找到libssl.so及libcrypto.so库(注意,OpenSSL库命名).
+* Android 客户端需要权限:
+>> 1、后台执行权限(如果不允许,则app进入后台会断开连接)
+>> 2、网络访问权限(基本权限)
+* 手机设置 (Android):
+>> 1、设置 -> 无线及网络 -> WLAN -> 系统休眠保持连接 "允许" (否则,系统休眠会被断连)
+>> 2、设置 -> 无线及网络 -> 移动网络 -> 高级 ->始终保持数据连接 "允许"
+ +