Skip to content

Instantly share code, notes, and snippets.

@waywardone
Last active October 8, 2019 21:24
Show Gist options
  • Save waywardone/1e23be04d133690b0bccd8ab08fe338d to your computer and use it in GitHub Desktop.
Save waywardone/1e23be04d133690b0bccd8ab08fe338d to your computer and use it in GitHub Desktop.

RDP to a host on a private network via SSH

                                            +--- Private Linux
Client - Internet - Public Linux --- ||| ---+
                                            +--- Private Windows

Assuming Public Linux can talk directly to Private Windows:

Client > ssh -L 5589:PrivateWindows:3389 user@PublicLinux
Client > RDP to 127.0.0.1:5589

References

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment