Ngrok Client for openwrt package
Usage:
$cd openwrt/package/utils
$git clone https://github.com/qianguozheng/ngrok-client-openwrt.git
$cd openwrt/
$make menuconfig
Utilities
---HiWeeds
--- ngrok
$make package/utils/ngrok-client-openwrt/compile V=s
For openwrt users, maybe need to modify config or do some operations outside of NAT, the easy way is to use ngrok,
Local Router( NAT ) -- Server --Remote User
Ngrok client(On OpenWrt) --Server(Ngrok Server) -- Remote User
From above you can see the simple Arch of each role in this program.
I have setup a server on hiweeds.net.
###On Server:
ngrokd -domain hiweeds.net
###On OpenWrt:
/usr/sbin/ngrokc -SER[Shost:hiweeds.net,Sport:4443] -AddTun[Type:tcp,Lhost:127.0.0.1,Lport:22,Rport:8022]
###On Remote Client:
ssh -p 8022 [email protected]
Now, we are login on OpenWrt system in anywhere that can access the Internet.
Do as above, you can get access to any service your openwrt provide on local.
Base on: https://github.com/dosgo/ngrok-c.git
If you found useful, donate will be appreciate. Contact Me: [email protected] [AliPay]