Update README.md
This commit is contained in:
@@ -1,17 +1,17 @@
|
||||
# smarGate
|
||||
# [smarGate]() | [移动网关](https://github.com/lazy-luo/smarGate/readme.cn.md)
|
||||
|
||||
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 user(the invitation code must be numeric and can be filled with any value)<br>
|
||||
### 1、download android client app<br>
|
||||
### 2、register user(the invitation code must be numeric and can be filled with any value)<br>
|
||||
<br>
|
||||
<br>
|
||||
## 3、remember register key-number(N)<br>
|
||||
### 3、remember register key-number(N)<br>
|
||||
<br>
|
||||
## 4、download server program matched you serverOS<br>
|
||||
## 5、modify config file(conf-proxy.xml):<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">
|
||||
@@ -25,21 +25,21 @@ Usage:<br>
|
||||
</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>
|
||||
### 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>
|
||||
<br>
|
||||
## 8、create service local proxy in android app<br>
|
||||
### 8、create service local proxy in android app<br>
|
||||
<br>
|
||||
<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>
|
||||
### 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>
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user