Skip to content

[bug] reverse proxy error #16

@xialvjun

Description

@xialvjun

Current Version: 1.3.0
Build Time: 2017-11-01_10:14:17_+0000
Git Commit Hash: e442ef1

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:

# 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions