firewall

0.0.5 • Public • Published

Firewall

Add or remove system firewall rules using Node.js.

Install

npm install firewall

Usage

var fw = require('firewall');

var opts = { bin: 'C:\\Path\\To\\Program.exe', desc: 'My Program' };
fw.add_rule(opts, function(err, out) {
  if (!err) console.log('Successfully added.');
})

var opts = { bin: 'C:\\Path\\To\\Program.exe', desc: 'My Program' };
fw.remove_rule(opts, function(err, out) {
  if (!err) console.log('Successfully removed.');
})

Author

Written by Tomas Pollak.

Copyright

(c) 2014 Fork, Ltd. MIT Licensed.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.5
    13
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.5
    13
  • 0.0.4
    2
  • 0.0.3
    0
  • 0.0.2
    1
  • 0.0.1
    0

Package Sidebar

Install

npm i firewall

Weekly Downloads

16

Version

0.0.5

License

MIT

Last publish

Collaborators

  • tomas