Update README.md

This commit is contained in:
zhiyong.luo
2018-11-06 11:44:08 +08:00
committed by GitHub
parent 44e6b80389
commit eb25051086
+13 -13
View File
@@ -1,13 +1,13 @@
# smarGate # smarGate
A mobile gateway that exposes the intranet service points. A mobile gateway that exposes the intranet service points. <br>
Free, after testing, select machine and open source. Free, after testing, select machine and open source. <br>
It contains a Android client app and server program. It contains a Android client app and server program.<br>
Usage: Usage:<br>
1、download android client app 1、download android client app<br>
2、register user 2、register user<br>
3、remember register key-numberN 3、remember register key-number(N)<br>
4、download server program matched you serverOS 4、download server program matched you serverOS<br>
5、modify config file(conf-proxy.xml): 5、modify config file(conf-proxy.xml):<br>
<?xml version="1.0" encoding="GBK"?> <?xml version="1.0" encoding="GBK"?>
<app-config code="PROXY" name="proxy-server"> <app-config code="PROXY" name="proxy-server">
<moudle-parameter> <moudle-parameter>
@@ -19,7 +19,7 @@ Usage:
<user-audit value="N:index"/><!-- need modify (N is step 3 return,index is you service point order. EXP:[12345:1])--> <user-audit value="N:index"/><!-- need modify (N is step 3 return,index is you service point order. EXP:[12345:1])-->
</moudle-parameter> </moudle-parameter>
</app-config> </app-config>
6、excute shell "nohup ./proxy_server -i1000 -o1000 -w8 >/dev/null &" (parameter i:input connections,o:output connections,w:max threads) 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 7、login from android client app<br>
8、create service local proxy in android app 8、create service local proxy in android app<br>
9、enjoy it 9、enjoy it<br>