ray-1337
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
5 additions and
2 deletions
-
README.md
|
|
@ -1,15 +1,18 @@ |
|
|
|
# Node UFW |
|
|
|
Manipulate UFW (Linux distribution only, works best on Ubuntu) via Node.js. |
|
|
|
> This module is under development. Use with caution. |
|
|
|
|
|
|
|
## System Requirements |
|
|
|
Only supported on [Node.js](https://nodejs.org) version 14 or above, and Ubuntu version 18 or above. |
|
|
|
|
|
|
|
This also requires **root** access, or else you'll get an error from ufw itself/password prompt from Ubuntu. |
|
|
|
|
|
|
|
## Installation |
|
|
|
```shell |
|
|
|
# npm user |
|
|
|
# npm |
|
|
|
$ npm install node-ufw |
|
|
|
|
|
|
|
# yarn user |
|
|
|
# yarn |
|
|
|
$ yarn add node-ufw |
|
|
|
``` |
|
|
|
|
|
|
|