Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

firewall-config

Skill by sickn33

Configures iptables, nftables, UFW and AWS security groups to restrict network access. Written for sysadmins and DevOps engineers securing server perimeters and application tiers.

  • Score 88
  • 50k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install firewall-config

Built from the published package, never by AI.

git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/skills/firewall-config ~/.claude/skills/firewall-config

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install firewall-config in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill is a documentation-only guide to configuring host-based and cloud firewalls. It covers default-deny iptables rules, UFW commands, an nftables server configuration, and AWS security groups defined in Terraform and the AWS CLI. It also includes a firewall rule audit script that flags open SSH, MySQL and PostgreSQL ports and a permissive INPUT policy.

The guide stresses safe changes. It asks users to inventory the active firewall manager, back up rules, keep out-of-band console access and test a rollback before writing rules. The examples are described as alternative local-lab sketches, not a script to run in order. It is aimed at people who secure network perimeters or implement security zones and segmentation.

Written from the project's SKILL.md and checked against it.

What it can do

  • Default-deny iptables setupSets default DROP policies and allows established connections, loopback, SSH from a management subnet and web traffic.
  • Anti-DDoS and scan filteringShows connection limits and drops of invalid TCP flag combinations, with a warning that a host firewall cannot stop upstream bandwidth floods.
  • UFW rule managementCovers default policies, subnet-limited SSH, application profiles, port ranges, IP denies and rule deletion.
  • nftables server configurationProvides an inet filter table with input rules, ICMP handling, SYN rate limiting and a NAT port forward example.
  • AWS security group TerraformDefines web, app and database security groups where each tier only accepts traffic from the tier in front of it.
  • AWS CLI security group commandsLists commands to create groups, add and revoke ingress rules, and describe security group rules.
  • Firewall rule audit scriptPrints current nftables or iptables rules and open ports, and warns on public database ports and an ACCEPT INPUT policy.
  • Troubleshooting tableLists common problems such as SSH lockout and rules lost after reboot, with causes and fixes.

What you need

  • Root or sudo access on Linux hosts
  • AWS CLI configured for cloud security groups
  • Understanding of TCP/IP, ports and protocols
  • Network diagram showing required traffic flows

Try asking

  • Build a default-deny iptables policy that only allows SSH from 10.0.100.0/24
  • Write an nftables config for a web server with SYN rate limiting
  • Create Terraform security groups for web, app and database tiers

Good to know

  • Documentation only. Helper scripts and templates are not bundled.
  • Examples are local-lab sketches and should not be run sequentially.
  • The nftables example is not a complete router or container policy.
  • Requires an authorized scope for any active assessment.

Security check

C
  • Asks for administrator rights (sudo)In skills/firewall-config/SKILL.md: sudo

Checked automatically: skills/firewall-config/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md14 KB

Alternatives to firewall-config

All alternatives →

Compare with function_health, windows-privilege-escalation or github-actions-advanced

firewall-config: common questions

Does this skill apply firewall rules automatically?

No. The source is a docs-only guide with example commands and configurations. It advises validating a complete ruleset offline and keeping a tested rollback before applying changes.

Which firewall tools does it cover?

It covers iptables, ip6tables, UFW, nftables and AWS security groups, using both Terraform and the AWS CLI.

Can a host firewall stop a DDoS attack?

The source says a host firewall cannot guarantee mitigation of upstream bandwidth exhaustion. It suggests service-specific connection limits as one measure.

How do I install firewall-config?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is firewall-config free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is firewall-config safe to use?

It scores 88 of 100. Grades: maintenance A, licence A, quality A. Security check: grade C (asks for administrator rights (sudo)). Review the code before you install. How grades work.

What are alternatives to firewall-config?

Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.

firewall-config Install

Add to stack

Loading.