Skip to content
/ tuna Public

Reverse tunnels for Node.js. Node.js for tunnels reverse.

Notifications You must be signed in to change notification settings

tomas/tuna

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Reverse tunnels for Node.js. Node.js for tunnels reverse.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published