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

Ability to launch a Tunnel Port Forwarding through a Dynamic Port Forwarding when available #683

Closed
isontheline opened this issue Jul 17, 2022 · 7 comments
Assignees
Labels
✨ enhancement New feature or request
Milestone

Comments

@isontheline
Copy link
Owner

Feature description

Now we can launch SSH and SFTP connections seamlessly through DPF tunnels but we can't launch Port Forwards over them.

So adding this ability will allow us to have a better WebSSH before having a full multi-jump feature.

@isontheline isontheline self-assigned this Jul 17, 2022
@isontheline isontheline added the ✨ enhancement New feature or request label Jul 17, 2022
@isontheline isontheline added this to the 19 - Octopus milestone Jul 17, 2022
@isontheline
Copy link
Owner Author

Available inside the latest beta release WebSSH 19.7

@jarrah31
Copy link

Hi Arnaud, do you have any examples or documentation on how this works, how to set it up, and what benefits it gives please? Thanks.

@isontheline
Copy link
Owner Author

@jarrah31 Yes documentation about DPF is here : https://webssh.net/documentation/help/networking/port-forwarding/#dynamic-port-forwarding

When you launch a "DPF" tunnel (with * wildcard char) WebSSH use it to launch any further SSH, SFTP or even TUNNEL connections through it.

So it "will act" as an "easy VPN" between your device and your trusted SSH server.

The next step is to implement "jump" : #577

@jarrah31
Copy link

When you launch a "DPF" tunnel (with * wildcard char) WebSSH use it to launch any further SSH, SFTP or even TUNNEL connections through it.

I'm a little confused because I've been using the DPF tunnel with a wildcard char for a while now, so I was wondering what this particular issue fixes (so that I can test it out)? Sorry if I've misunderstood something. :)

@isontheline
Copy link
Owner Author

DPF has not been updated with this issue.

The problem was that TUNNEL connections launched after a DPF weren't using the DPF so I was unable to forward a port on a bastion.

This could be considered as a "hack" before true jump feature implemented.

@isontheline
Copy link
Owner Author

Launching forwards through DPF let you to don't specify all port forwardings inside one TUNNEL but instead you can launch one or more forwards TUNNELs to do some things.

Perhaps this is only useful for me. I needed it last week under an IT incident.

@jarrah31
Copy link

Understood, thanks for the explanation Arnaud. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants