tiny-tunnel
v1.0.7
Published
limit bandwidth through tunnel
Downloads
5
Maintainers
Readme
#tiny-tunnel
Limit bandwidth through tunnel. For example, reduce the downloading speed of your mobile browser.
npm
npm install tiny-tunnel
Example
const tunnel = require("tiny-tunnel");
tunnel({port: 1041, host: "51.25.53.193", rate: 20*1024}).listen(8081);
Parameters
Configuration object properties:
- port The port of the next server
- host The ip address of the next server
- rate The upper limit of bytes per second of the connection
For example
Reduce data in time of your mobile. Install node.js in your phone, for instance NodeJS Frontend. Install package (see). Find a socks proxy address and run it. Set firefox to use socks proxy.