firewall

Manage iptables, firewalld, and ufw firewall rules on Linux.

50|13|Updated Jan 19, 2026
One-click install
npx skills add https://github.com/chaterm/terminal-skills --skill firewall
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: firewall
Source: https://github.com/chaterm/terminal-skills/tree/main/security/firewall
Command: npx skills add https://github.com/chaterm/terminal-skills --skill firewall

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies the complex task of configuring and managing network firewalls across different systems, ensuring your servers and networks are protected from unauthorized access.

Core Features & Use Cases

  • Multi-Firewall Support: Manages iptables, firewalld, and ufw on Linux systems.
  • Rule Management: Allows for adding, deleting, and listing firewall rules for ports, services, and IP addresses.
  • NAT Configuration: Supports setting up Network Address Translation (NAT) for port forwarding and masquerading.
  • Use Case: Secure a web server by allowing only HTTP, HTTPS, and SSH traffic while blocking all other incoming connections.

Quick Start

Use the firewall skill to allow incoming TCP traffic on port 8080 for the web server.

Frequently Asked Questions about firewall

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure iptables and ufw firewall rules for a Linux server?

Configuring firewall rules for iptables, ufw, and firewalld on Linux systems involves managing port, service, and IP address access. This skill simplifies adding, deleting, and listing these rules to secure your network.

Can I set up NAT, SNAT, and DNAT for port forwarding on Linux?

You can set up Network Address Translation (NAT), including SNAT and DNAT, for port forwarding and masquerading. This firewall management skill supports configuring these NAT rules directly across Linux systems.

What's the best way to secure a web server by allowing only HTTP, HTTPS, and SSH traffic?

Securing a web server by allowing only HTTP, HTTPS, and SSH traffic requires blocking all other incoming connections. This firewall management skill implements these network security policies across iptables, ufw, and firewalld.

Does this firewall management skill support both firewalld and ufw?

This firewall management skill supports both firewalld and ufw, alongside iptables. It manages network firewall configurations consistently across these different Linux systems to ensure servers are protected.

How do I troubleshoot network connectivity issues caused by firewall configurations?

Troubleshooting network connectivity issues caused by firewall configurations requires listing and verifying active rules. This skill helps system administrators identify and resolve blocked ports or services across iptables and firewalld.

When do I need to use iptables instead of ufw or firewalld for network security?

Using iptables instead of ufw or firewalld for network security depends on your Linux distribution and required rule complexity. This skill manages configurations across all three to implement policies regardless of the active system.