ehang-io / nps

一款轻量级、高性能、功能强大的内网穿透代理服务器。支持tcp、udp、socks5、http等几乎所有流量转发,可用来访问内网网站、本地支付接口调试、ssh访问、远程桌面,内网dns解析、内网socks5代理等等……,并带有功能强大的web管理端。a lightweight, high-performance, powerful intranet penetration proxy server, with a powerful web management terminal.
https://ehang.io/nps/documents
GNU General Public License v3.0
30.47k stars 5.5k forks source link

远程桌面3389连接不成功 #1084

Open ahnuljz opened 2 years ago

ahnuljz commented 2 years ago

NPS 运行成功

NPC配置: [common] server_addr=...:8024 conn_type=tcp vkey=123 auto_reconnection=true max_conn=1000 flow_limit=1000 rate_limit=1000 basic_username=11 basic_password=3 web_username=user web_password=1234 crypt=true compress=true

pprof_addr=0.0.0.0:9999

disconnect_timeout=60

[tcp] mode=tcp target_addr=172.20.75.223:3389 server_port=8000

mstsc 远程连接...:8000后没反应, NPC 控制台报错:

[client.go:213] connect to 172.20.75.223:3389 error dial tcp 172.20.75.223:3389: connectex: No connection could be made because the target machine actively refused it.

被连接客户端已关闭防火墙,内网正常可以连接

road2coder commented 2 years ago

这个应该是没有开启远程功能,家庭版被阉割了