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