Fetch the repository succeeded.
python编写的内网穿透,类似于灰鸽子。
python2 + twisted + socket
nat内网 | 公网 | nat内网
| |
py_client.py 随便部署到内网某台主机,要求Python2.7,打开py_client.py 按要求修改相关参数
启动方法 python py_client.py
部署在公网主机,打开PyServer.py(接收客户端注册)修改, ,注意token要和客户端一致
部署在公网主机 MstscServer.py (接收mstsc客户端),
不打开白名单启动方法 python MstscServer.py #所有IP都可以访问
打开白名单启动方法 python MstscServer.py 1 # 远程连接后会成个whitelist.txt文件,向里面添加控制机公网IP即可
4.部署好后,随便找台win主机mstsc ip:8888 访问即可
Sign in for post a comment
Comments ( 0 )