內網穿透 1
借鑒 https://blog.csdn.net/today_08/article/details/99965189
https://github.com/Pluto-Whong/natcross.git 不再維護了,建議使用natcross2
https://github.com/Pluto-Whong/natcross-boot.git
https://github.com/Pluto-Whong/natcross-boot-client.git
natcross2(https://github.com/Pluto-Whong/natcross2.git),這是核心碼的實現,ServerApp運行在服務端,ClientApp運行在內網,便可以進行了,里面有個無加密的配置方式、交互加密、交互和隧道加密的方式,可以根據需要選擇運行。
內網穿透2
借鑒http://thinkai.net/p/683 LanProxy
對應內網穿透 https://github.com/ffay/lanproxy
LanProxy(下載)是一個JAVA便攜的內網穿透解決方案
lanproxy使用方法
1. 下載對應文件包
2. proxy.zip
3. 在對應的服務端 執行對應的 server
4. 在server /bin 中 執行 chmod +x start.sh chmod +x stop.sh 給兩個文件添加可執行權限(linux)
5. 修改 server /conf 中的
server.ssl.enable=false
server.port = 999x
config.admin.username=admin
config.admin.password=admin
6. 執行bin中的 start.sh
7. 訪問 當前服務器 ip:999x 。
8. 使用admin/ admin 進行登錄
9. 添加客戶端。 系統生成對應的key
10. 在配置管理中 設置對應的模塊信息
11. 在對client 設置對應client.key= xxxxxxx 在啟動 client
lanproxy資料
百度網盤 鏈接: https://pan.baidu.com/s/1FiajMI73CvQu3dPxsSVbkw 密碼: wegh