0.2.1 • Published 8 years ago

wake-on-lan-proxy v0.2.1

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

WOL Proxy

Very simple script that proxy TCP traffic to given machine. If the machine is down it sends wake-on-lan packet to turn it on.

Example

const WOLProxy = require('wake-on-lan-proxy');

(new WOLProxy())
    .source(9000)
    .target({
        port: 80,
        host: '192.168.0.10',
        mac: '<address mac of target machine>'
    })
    .run();

Debugging

DEBUG=* node script.js
0.2.1

8 years ago

0.2.0

8 years ago

0.1.0

8 years ago