Skip to content

Instantly share code, notes, and snippets.

View g33k247's full-sized avatar
💭
I may be slow to respond.

Professor Galliano g33k247

💭
I may be slow to respond.
View GitHub Profile
@g33k247
g33k247 / readme.md
Created October 23, 2019 15:27 — forked from RaVbaker/readme.md
[HOWTO] Forward ports a.k.a. make SSH Tunneling

Syntax:

ssh -L localport:host:hostport user@ssh_server -N 

where:

  • -L - port forwarding parameters (see below)
  • localport - local port (chose a port that is not in use by other service)
  • host - server that has the port (hostport) that you want to forward
  • hostport - remote port