cannot reconnect
Hello, I started the server Python 2.7.6 and latest version of the pyrevtun from github.
python pyrevtun.py -m listener -l 0.0.0.0:443 -t 2222 -s example_cert.pem -k example_key.pem -p pass
[] Listening on TCP 443 [] Connection from 1.1.1.1 [] Establishing association between client and listener [] Tunnel is now associated on listener side [] Tunnel socket is accessible at localhost:2222 [] Connecting to target host through tunnel [*] Connected
started target: :~/pyrevtun $ python pyrevtun.py -m client -l server:443 -c 127.0.0.1:22 -p pass [] Connecting to listening host at server:443 [] Establishing association between client and listener [] Tunnel is now associated on client side [] Connecting to tunneled client service at 127.0.0.1:22 [*] Connected
and i cannot connect to the target only once, is something i do wrong?
$ nc server 2222 SSH-2.0-OpenSSH_7.4p1 Debian
and cannot connect to the target 2nd time. ➤ nc server 2222
am i doing something wrong that i cannot reconnect and have multiple users that can connect to the target?