Easy ssh reverse tunnel
How to use
npm i reverse-tunnel-ssh
// Tunnel your local port 8000 to tunneltest.com:8000//tunnel is a ssh2 clientConnection objectvar tunnel = ;;// Tunnel your local port 8000 to a free port on tunneltest.comvar conn =;conn;
If you plan to expose a local port on a remote machine (external interface) you need to enable the "GatewayPorts" option in your 'sshd_config'
# What ports, IPs and protocols we listen forPort 22GatewayPorts yes