Socket
Socket
Sign inDemoInstall

tuna

Package Overview
Dependencies
0
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    tuna

Reverse tunnels. Tunnels reverse.


Version published
Weekly downloads
8
decreased by-33.33%
Maintainers
1
Install size
7.87 kB
Created
Weekly downloads
 

Readme

Source

Tuna

Reverse tunnels for Node.js.

Code

var Tunnel = require('tuna');

var opts = {
  secure      : true,
  local_port  : 5500,
  remote_port : 8800,
  remote_host : 'my.server.com'
}

var tun = new Tunnel(opts);

tun.on('opened', function() {
  console.log('Connected to remote server.')
})

tun.on('closed', function() {
  console.log('Tunnel is now closed.')
})

tun.open()

And boom.

Small print

Written by Tomas Pollak. BSD.

FAQs

Last updated on 20 Aug 2015

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc