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 15e8b4ea89 detail 2016-09-30 18:07:26 -04:00
bin cli is working! 2016-09-30 15:04:27 -04: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 add keywords and alias 2016-09-30 17:55:12 -04:00
wsclient.js check for auth error 2016-09-30 15:14:12 -04: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