open-dingtalk / pierced

钉钉内网穿透
2.28k stars 761 forks source link

TCP穿透好像一直不行 #22

Open PerfectDemo opened 4 years ago

PerfectDemo commented 4 years ago

ding.cfg

server_addr: "vaiwan.com:443"
trust_host_root_certs: false
tunnels:
  ssh:
    proto:
      tcp: "3306"
    remote_port: 7409

run ./ding -proto=tcp -config=./ding.cfg start ssh 显示

ngrok                                                                                                                                                                                       

Tunnel Status                 online
Version                       1.7/1.7
Forwarding                    tcp://vaiwan.com:7409 -> 127.0.0.1:3306
Web Interface                 127.0.0.1:4040
# Conn                        0
Avg Conn Time                 0.00ms

执行 mysql -h vaiwan -u root -p -P 7409 不行

lihe07 commented 4 years ago

同... 我这里也不行 提示mysql没有在服务端运行

cfyin commented 3 years ago

我的也不行,请问你们能不能用ssh登录,我这里提示输入密码,但不知道密码是什么,输入自己设置的密码不对

muxi01 commented 3 years ago

ssh 无法使用