@nodevisor/firewall
v0.0.83
Published
Module provides ability to manage firewall
Readme
@nodevisor/firewall
High-level firewall abstraction (delegates to UFW).
Part of Nodevisor — TypeScript Infrastructure Automation Platform
Install
npm install @nodevisor/firewallStatus
This package is a high-level abstraction layer for firewall management. Currently delegates to @nodevisor/ufw.
For firewall functionality, use @nodevisor/ufw directly:
import $ from '@nodevisor/shell';
import UFW from '@nodevisor/ufw';
import { endpoints } from '@nodevisor/endpoint';
const $server = $.connect({ host: '10.0.0.10', username: 'root' });
const ufw = $server(UFW);
await ufw.install();
await ufw.allow([endpoints.ssh, endpoints.web, endpoints.webSecure]);
await ufw.start();Related Packages
@nodevisor/ufw— UFW firewall management@nodevisor/endpoint— Network endpoint definitions
Documentation
Full documentation available at nodevisor.com/docs/packages/firewall
License
Nodevisor uses a single O'Saasy license across all packages and applications. See the full terms in LICENSE.
