Info
- Tool to automatically configure ufw rules
- Must be run as root (eg via sudo)
Input file
Create a file, with list of ports:
[22, 443, 8080]
Save it. For example: fw.json
Install
sudo npm i -g @aibulat/ctl-ufw
Run
sudo ctl-ufw fw.json
Create a file, with list of ports:
[22, 443, 8080]
Save it. For example: fw.json
sudo npm i -g @aibulat/ctl-ufw
sudo ctl-ufw fw.json
npm i @aibulat/ctl-ufw
3
0.0.3
MIT
4.23 kB
5