http-tunneld
v0.0.2
Published
nodejs global module to utilize http tunnel
Downloads
8
Readme
http-tunneld
nodejs global module to utilize http tunnel
use as node_module
install
npm install http-tunneld --save
code below creates tcp server listening from 3128 which will pipe data through proxy to dest.
var tunnel = require('http-tunneld')({
proxy: 'http://proxy.intranet:3218',
dest: 'target.internet'
});
tunnel.listen(3128);
use as global
install
[sudo] npm install http-tunneld -g
run
tunneld --verbose --proxy http://proxy.intranet:3128 --port 3128 --dest target.internet
you might consider running http-tunneld using pm2 to daemonize.
note
this module is tested under squid.