You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ ./npc -server=nps.****.com:3389 -vkey=ii5r6f1u3fk37odt -type=tcp
2020/04/19 14:46:15.856 [I] [npc.go:229] the version of client is 0.26.6, the core version of client is 0.26.0
2020/04/19 14:46:15.979 [I] [client.go:67] Successful connection with server nps.****.com:3389
./npc -server=nps.****.com:3389 -vkey=ii5r6f1u3fk37odt -type=tcp -password=3818b56dab01 -local_type=secret
2020/04/19 15:37:45.390 [I] [npc.go:229] the version of client is 0.26.6, the core version of client is 0.26.0
2020/04/19 15:37:45.390 [I] [local.go:115] successful start-up of local tcp monitoring, port 2000
2020/04/19 15:37:45.541 [I] [client.go:67] Successful connection with server nps.****.com:3389
[common]
server_addr=nps.****.com:3389
conn_type=tcp
vkey=ii5r6f1u3fk37odt
auto_reconnection=true
crypt=true
compress=true
# 很奇怪,如果下面这个配置组名不为secret_web,会启动不成功
# 例如我起名为web_secret的时候,报错如下
# The server returned an error, which port or host may have been occupied or not allowed to open. web_secret
[secret_web]
local_port=2000
password=3818b56dab02
The text was updated successfully, but these errors were encountered:
Describe the bug
之前一直用着
v0.23.1
版本的客户端,今天下载最新版本v0.26.6
使用,奇怪的事情发生了。先描述一下环境:
嗯,看上去没什么问题,p2p能否穿透不一定,但私密模式肯定是没问题的。
然后我就开始准备配置
然后在办公室电脑运行了该命令,日志显示正常
然后我在我的Mac笔记本上运行了该命令,日志如下
我在Mac笔记本上运行了
curl http://127.0.0.1:2000
,但是响应的结果为查看Mac笔记本上的日志,多了两行
我Ctrl+C结束Mac笔记本上的npc进程,web控制台上显示在线客户端为0
我认为是Mac这边连接服务器后将办公室的npc挤下线了,
还抢了对方的工作,
在Mac笔记本当前局域网寻找我指定的web服务,
当我在web控制台上修改隧道的目标端口为
192.168.1.1:80
时,我在Mac本机通过curl 127.0.0.1:2000确实访问到了当前局域网的路由器登录界面
可能是我配置上的疏忽,但是我使用旧版本(v0.23.1)是正常的,这可能不是一个BUG,但此时配置不通我特别郁闷,我已经反复尝试几个小时了,我很希望能使用新版本,希望大家可以帮忙找到问题所在,谢谢~
下面是我使用配置文件方式进行尝试的配置,依然无法成功
办公室电脑npc.conf
Mac笔记本npc.conf
The text was updated successfully, but these errors were encountered: