Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot reconnect #2

Open
superuser5 opened this issue Jan 17, 2020 · 0 comments
Open

cannot reconnect #2

superuser5 opened this issue Jan 17, 2020 · 0 comments

Comments

@superuser5
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant