Difference between revisions of "OpenSSH/Tunelling"
< OpenSSH
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
#Local port forwarding: connections from the SSH client are forwarded via the SSH server, then to a destination server | #Local port forwarding: connections from the SSH client are forwarded via the SSH server, then to a destination server | ||
#Remote port forwarding: connections from the SSH server are forwarded via the SSH client, then to a destination server | #Remote port forwarding (reverse SSH tunnel): connections from the SSH server are forwarded via the SSH client, then to a destination server | ||
#Dynamic port forwarding: connections from various programs are forwarded via the SSH client, then via the SSH server, and finally to several destination servers | #[[Socks_proxy_using_SSH|Dynamic port forwarding]]: connections from various programs are forwarded via the SSH client, then via the SSH server, and finally to several destination servers | ||
= References = | = References = | ||
*[https://vimeo.com/54505525 The Black Magic Of SSH] vimeo | *[https://vimeo.com/54505525 The Black Magic Of SSH] vimeo | ||
*[http://unix.stackexchange.com/questions/46235/how-does-reverse-ssh-tunneling-work ssh-tunneling-work] unix.stackexchange.com, diagrams | *[http://unix.stackexchange.com/questions/46235/how-does-reverse-ssh-tunneling-work ssh-tunneling-work] unix.stackexchange.com, diagrams |
Revision as of 16:26, 29 September 2016
Different types of tunnelling:
- Local port forwarding: connections from the SSH client are forwarded via the SSH server, then to a destination server
- Remote port forwarding (reverse SSH tunnel): connections from the SSH server are forwarded via the SSH client, then to a destination server
- Dynamic port forwarding: connections from various programs are forwarded via the SSH client, then via the SSH server, and finally to several destination servers
References
- The Black Magic Of SSH vimeo
- ssh-tunneling-work unix.stackexchange.com, diagrams