portforwarting over ssh

To use SSH tunneling in Linux, you need to provide your client with the source and destination port numbers, as well as the location of the destination server. The location can either be an IP address or a hostname.

The basic syntax for a local port forward command is straightforward:

ssh -L <local_port>:<target_server>:<targetport> <user>:<ssh_server> -p<sshport>

source: [link]

Leave a Reply

Your email address will not be published. Required fields are marked *