Overview
Firewall manages host UFW: status, default policies, active rule counts, and blocked IP counts. Foster also auto-allows critical ports (for example SSH, HTTP/HTTPS, and agent traffic) during bootstrap and proxy setup.
Rules
- List and search rules by port, comment, or related fields.
- Add allow or deny rules (port/protocol, source, optional comment).
- Delete a rule by its numbered position in UFW’s list.
Rule numbers shift after deletes — re-list before removing another rule.
Block / unblock IPs
- Block an IP with an optional comment; unblock later by IP.
- Search an IP for matching rules plus recent UFW block activity from logs.
Notes
Wrong deletes can lock you out of SSH. Prefer blocking suspicious IPs over closing port 22.
If UFW is inactive or not installed, stats show empty/inactive — panel actions will not protect the host until UFW is active.