内网穿透java版

内网穿透 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


    吾之爱,心之念。
           携子手,到白头。

原文地址:https://www.cnblogs.com/JC-0527/p/13692332.html