Open xialvjun opened 6 years ago
Current Version: 1.3.0 Build Time: 2017-11-0110:14:17+0000 Git Commit Hash: e442ef1c778ba256254ceddf5a773ae56998b496
docker run --rm -it --net=host ooclab/otunnel-amd64 /otunnel listen :10000 -s mysecret
docker run --rm -it --net=host ooclab/otunnel-amd64 /otunnel connect VPS_IP:10000 -s mysecret -t 'r:127.0.0.1:2333::2333'
when browse VPS_IP:2333:
VPS_IP:2333
# server ERRO[05/30 06:24:20] Link.recv quit error=EOF from=link id=0 WARN[05/30 06:24:20] link is stopped already from=link id=0 WARN[05/30 06:24:20] client &es.SafeConn{BaseConn:es.BaseConn{conn:(*net.TCPConn)(0xc42000c158)}, cipher:(*ecrypt.Cipher)(0xc42000ae40)} is offline # client ERRO[05/30 06:24:13] dial 127.0.0.1:2333 failed: dial tcp 127.0.0.1:2333: getsockopt: connection refused ERRO[05/30 06:24:13] Link.recv quit error="dial tcp 127.0.0.1:2333: getsockopt: connection refused" from=link id=0 WARN[05/30 06:24:13] link is stopped already from=link id=0
Thanks for your bug report, this is a known issues. I'm using supervisord to hold otunnel daemon, and restart it manually to fix this problem temporarily.
Current Version: 1.3.0 Build Time: 2017-11-0110:14:17+0000 Git Commit Hash: e442ef1c778ba256254ceddf5a773ae56998b496
docker run --rm -it --net=host ooclab/otunnel-amd64 /otunnel listen :10000 -s mysecret
docker run --rm -it --net=host ooclab/otunnel-amd64 /otunnel connect VPS_IP:10000 -s mysecret -t 'r:127.0.0.1:2333::2333'
when browse
VPS_IP:2333
: