# smarGate A mobile gateway that exposes the intranet service points.
Free, after testing will be open source.
It contains a Android client app and server program.
Usage:
## 1、download android client app
## 2、register user(the invitation code must be numeric and can be filled with any value)
![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、remember register key-number(N)
![register result](https://github.com/lazy-luo/smarGate/blob/master/res/registerok.png)
## 4、download server program matched you serverOS
## 5、modify config file(conf-proxy.xml):
``` ``` ## 6、excute shell "nohup ./proxy_server -i1000 -o1000 -w8 >/dev/null &"(parameter i:input connections,o:output connections,w:max threads)
## 7、login from android client app
![operator](https://github.com/lazy-luo/smarGate/blob/master/res/oper1.png)
## 8、create service local proxy in android app
![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、enjoy it!
# ps:
The Linux x86 or x86_64 bit version does dependless any third party package.
NAS armv7 version relies on OpenSSL, which requires OpenSSL to be installed before.
Androdi Client app requires permission:
1、background running privileges
2、network access
Cell phone settings (Android):
1、setting -> wireless and network -> WLAN -> maintain WLAN connections in dormant state "ALLOW"
2、setting -> wireless and network -> mobile network -> advanced ->always connected network data service "ALLOW"