ubuntu_ufw_firewall
Configure Ubuntu firewall rules via SSH to manage network security by enabling, disabling, allowing, or denying specific ports and protocols.
Instructions
Manage Ubuntu Uncomplicated Firewall (UFW)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| connectionId | Yes | ID of an active SSH connection | |
| action | Yes | Action to perform (enable, disable, status, allow, deny, delete, reset) | |
| port | No | Port number or service name (e.g., 80, 443, ssh, http) | |
| protocol | No | Protocol (tcp, udp) | |
| from | No | Source IP address or network | |
| sudo | No | Whether to run the command with sudo (default: true) |