Break out of localhost. Access your devices from behind firewalls. Securely access your services from anywhere. An easy-to-use secure tunnel for all sorts of wonderful things (kind of like a poor man's VPN).
Go to file
AJ ONeal a13a4e62b2 close clients first (before tunneler) on exit 2016-10-06 00:00:41 -06:00
bin allow missing proto in local proxy 2016-10-05 23:27:57 -06:00
snippets moving towards release 2016-09-30 12:33:38 -04:00
.gitignore moving towards release 2016-09-30 12:33:38 -04:00
LICENSE Initial commit 2016-09-21 18:42:26 -06:00
README.md detail 2016-09-30 18:07:26 -04:00
TODO.md moving towards release 2016-09-30 12:33:38 -04:00
client.js demo works 2016-09-22 16:18:35 -06:00
package.json v0.8.1 2016-09-30 18:08:09 -04:00
wsclient.js close clients first (before tunneler) on exit 2016-10-06 00:00:41 -06:00

README.md

stunnel.js

A client that works in combination with stunneld.js to allow you to serve http and https from any computer, anywhere through a secure tunnel.

CLI

Installs as stunnel.js with the alias jstunnel (for those that regularly use stunnel but still like commandline completion).

Install

npm install -g stunnel

Advanced Usage

How to use stunnel.js with your own instance of stunneld.js:

stunnel.js --locals http:john.example.com:3000,https:john.example.com --stunneld https://tunnel.example.com:443 --secret abc123
--secret          the same secret used by stunneld (used for authentication)
--locals          comma separated list of <proto>:<servername>:<port> to which
                  incoming http and https should be forwarded
--stunneld        the domain or ip address at which you are running stunneld.js
-k, --insecure    ignore invalid ssl certificates from stunneld

Usage

NOT YET IMPLEMENTED

Daplie's tunneling service is not yet publicly available.

Terms of Service: The Software and Services shall be used for Good, not Evil. Examples of good: education, business, pleasure. Examples of evil: crime, abuse, extortion.

stunnel.js --agree-tos --email john@example.com --locals http:john.example.com:4080,https:john.example.com:8443