-
-
Notifications
You must be signed in to change notification settings - Fork 174
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
Add support for remote forwarding (reverse tunneling) #59
Comments
Ok I see the problem: this requires a remote forward, which is basically a tunnel in reverse. ET doesn't support this yet. |
There is a second issue where when tunneling fails, it b0rks your terminal. |
Any prospects on getting remote tunnels? I am trying to make work |
@bkarlson We are working on implementing jump hosts now but once that is done we can take a look at reverse tunnels. |
Same problem with @bkarlson, I need to use rmate for VS Code via terminal. Any progress on this issue @MisterTea ? Thanks |
Sounds like this is the most needed feature that we don't already have :-). I should be able to code this up by next week. |
You can track progress by following this branch: https://github.com/MisterTea/EternalTCP/tree/reverse_tunnel |
Alright, I tested this on my machines and it seems to work. I need other people to test before I can merge this in with confidence. This means you @michaelsuo @tonidy @bkarlson et al :-) Please checkout branch reverse_tunnel, build the latest commit of that branch, and replace your et and etserver binaries on both client & server with the ones you build. Then you should be able to use reverse tunneling with the -rt command. So, for example, to have the server communicate with a pbcopy daemon listening on port 2224: et -rt="4321:2224" (hostname:port) Then anything that goes to localhost:4321 on the server will be received by 2224 on the local machine. You can also do 2224:2224, but I made up 4321 so the example is easier to read. |
Implemented in latest master. |
This works great except that I have a |
It would also be amazing to, in addition to the above comment, automatically parse the |
@joshuarubin I think you should start a new issue for the ssh |
To repro (Mac only):
et -t="2224:9999" <remote>:8080
To confirm that plain ssh works, you could run:
and try hitting the port:
The expected behavior is that "asdf" is now copied to your system clipboard.
The text was updated successfully, but these errors were encountered: