tuna

0.1.0 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i tuna

Weekly Downloads

23

Version

0.1.0

License

BSD

Last publish

Collaborators

  • tomas