Files
smarGate/README.md
T
zhiyong.luo accb9c2d2e Update README.md
主要功能:
1、内网穿透
2、正/反向代理
3、隧道加密
4、P2P
5、。。。
特点:
1、无需自己申请公网ip
2、数据传输安全可靠
3、访问点通过android客户端进行动态设置
4、重要的是好用:)
2018-11-07 16:43:27 +08:00

46 lines
2.3 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# smarGate
A mobile gateway that exposes the intranet service points. <br>
Free, after testing will be open source. <br>
It contains a Android client app and server program.<br>
Usage:<br>
## 1、download android client app<br>
## 2、register userthe invitation code must be numeric and can be filled with any value<br>
![login](https://github.com/lazy-luo/smarGate/blob/master/res/login.png)<br>
![register](https://github.com/lazy-luo/smarGate/blob/master/res/register.png)<br>
## 3、remember register key-number(N)<br>
![register result](https://github.com/lazy-luo/smarGate/blob/master/res/registerok.png)<br>
## 4、download server program matched you serverOS<br>
## 5、modify config file(conf-proxy.xml):<br>
```
<?xml version="1.0" encoding="GBK"?>
<app-config code="PROXY" name="proxy-server">
<moudle-parameter>
<log-level value="LOG_ERROR"/>
<log-write-mode value="CONSOLE_ONLY"/>
<app-name value="xxxxx [name of service points]." /><!-- need modify -->
<app-description value="yyyyy [description of service points]" /><!-- need modify -->
<server-address value="visery.net:39001"/>
<user-audit value="N:index"/><!-- need modify (N is step 3 return,index is you service point order. e.g:[12345:1])-->
</moudle-parameter>
</app-config>
```
## 6、excute shell "nohup ./proxy_server -i1000 -o1000 -w8 >/dev/null &"(parameter i:input connections,o:output connections,w:max threads)<br>
## 7、login from android client app<br>
![operator](https://github.com/lazy-luo/smarGate/blob/master/res/oper1.png)<br>
## 8、create service local proxy in android app<br>
![operator](https://github.com/lazy-luo/smarGate/blob/master/res/oper2.png)<br>
![operator](https://github.com/lazy-luo/smarGate/blob/master/res/oper3.png)<br>
## 9、enjoy it<br>
# ps:<br>
The Linux x86 or x86_64 bit version does dependless any third party package.<br>
NAS armv7 version relies on OpenSSL, which requires OpenSSL to be installed before.<br>
Androdi Client app requires permission:<br>
1、background running privileges<br>
2、network access<br>
Cell phone settings (Android):<br>
1、setting -> wireless and network -> WLAN -> maintain WLAN connections in dormant state "ALLOW"<br>
2、setting -> wireless and network -> mobile network -> advanced ->always connected network data service "ALLOW"<br>