firewall

Manage firewall rules and NAT across iptables, firewalld, nftables, and ufw.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes 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 network's security and controlling traffic flow.

Core Features & Use Cases

  • Multi-Firewall Support: Manages iptables, firewalld, nftables, and ufw firewalls.
  • Rule Management: Allows for adding, deleting, and viewing firewall rules for ports, services, and IP addresses.
  • NAT Configuration: Supports Source NAT (SNAT) and Destination NAT (DNAT) for port forwarding.
  • Use Case: Secure a web server by allowing only SSH, HTTP, and HTTPS traffic, while blocking all other incoming connections.

Quick Start

Use the firewall skill to allow incoming SSH traffic on port 22.

Frequently Asked Questions about firewall

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

FAQPage Schema
How do I configure iptables rules to allow SSH traffic and block other incoming connections?

You can manage iptables rules by adding entries to allow specific ports like 22 for SSH while setting default policies to block other incoming traffic, securing your network.

Can I set up Source NAT and Destination NAT for port forwarding using ufw or firewalld?

Yes, firewall configuration supports both Source NAT and Destination NAT setup across ufw and firewalld, enabling port forwarding and traffic routing for your network.

What is the best way to manage firewall configurations across different Linux systems like nftables and firewalld?

Multi-firewall management allows you to create, delete, and view rules across nftables and firewalld from a single interface, simplifying network security across different Linux environments.

Do I need to understand Linux networking concepts to troubleshoot firewall rule issues?

Yes, troubleshooting firewall configurations requires an understanding of Linux networking and firewall concepts to effectively resolve common security scenarios and traffic flow issues.

Why does my web server firewall block HTTP or HTTPS traffic after adding new rules?

Firewall rules must explicitly allow incoming traffic on ports 80 for HTTP and 443 for HTTPS; if omitted, default blocking policies will prevent web server access.