wake-on-lan-proxy

0.2.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i wake-on-lan-proxy

Weekly Downloads

2

Version

0.2.1

License

MIT

Last publish

Collaborators

  • wookieb