ubuntu_ufw_firewall
Simplify Ubuntu UFW management via SSH MCP. Enable, disable, configure, or view firewall status, allowing or denying specific ports, protocols, and IPs with ease.
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) |