How to create a SSL tunnel

L'Antre du Tryphon

schedule
2024-12-29 | 17:42h
update
2024-12-29 | 17:49h
person
www.ctheroux.com
domain
www.ctheroux.com

How to create a SSL tunnel

This blog post assumes that ssl is already installed.

The basic command to create an SSL tunnel is:

ssh -L [local-ip-address:]local-port:dest-host:dest-port [user@]ssh-server

where:

  • local-ip-address to use. If omitted, localhost is used
  • local-port that the tunnel will listen to
  • dest-host is the name of the host to connect to from the ssh-server
  • dest-port is the dest-host port to connect to from the ssh-server
  • user is the username to use to connect to the ssh-server
  • ssh-server is the name of the ssh host

Advertisement

Imprint
Responsible for the content:
www.ctheroux.com
Privacy & Terms of Use:
www.ctheroux.com
Mobile website via:
WordPress AMP Plugin
Last AMPHTML update:
24.09.2025 - 04:43:47
Privacy-Data & cookie usage: