configuring-pfsense-firewall-rules

configuring-pfsense-firewall-rules is a skill for Claude Code, Codex from Youngmaidainon/Agent-Level-Up. It costs 88 tokens per session (3,276 once invoked), scanned A, original, MIT.

A guide to configuring pfSense, a firewall platform, to control traffic between networks and expose selected internal services safely. It covers access rules, NAT, VPNs, network segmentation, and traffic shaping.

In plain words
What is it for?
Use it to create VLAN and firewall rules, configure IPsec or OpenVPN tunnels, forward ports to internal services, and manage quality of service.
Why use it?
It helps prevent unwanted connections between zones such as internal, guest, DMZ, and IoT networks. It also provides a structured way to manage port forwarding, remote access, and bandwidth limits.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create VLAN and firewall rules, configure IPsec or OpenVPN tunnels, forward ports to internal services, and manage quality of service.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/youngmaidainon/agent-level-up/configuring-pfsense-firewall-rules
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Youngmaidainon/Agent-Level-Up --skill configuring-pfsense-firewall-rules
Clone the repo
git clone --depth 1 https://github.com/Youngmaidainon/Agent-Level-Up

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for configuring-pfsense-firewall-rules

README.md
[![agentmods](https://agentmods.dev/badge/skills/youngmaidainon/agent-level-up/configuring-pfsense-firewall-rules/github.svg)](https://agentmods.dev/skills/youngmaidainon/agent-level-up/configuring-pfsense-firewall-rules)
Your own site
<a href="https://agentmods.dev/skills/youngmaidainon/agent-level-up/configuring-pfsense-firewall-rules"><img src="https://agentmods.dev/badge/skills/youngmaidainon/agent-level-up/configuring-pfsense-firewall-rules/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for configuring-pfsense-firewall-rules

Your own site · 80×15
<a href="https://agentmods.dev/skills/youngmaidainon/agent-level-up/configuring-pfsense-firewall-rules"><img src="https://agentmods.dev/badge/skills/youngmaidainon/agent-level-up/configuring-pfsense-firewall-rules.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 88 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,276 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00088 $0.03276
Opus 5 $0.00044 $0.01638
Sonnet 5 $0.00018 $0.00655
Haiku 4.5 $0.00009 $0.00328

Measured 5d ago against content hash f7ede9358003, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

configuring-pfsense-firewall-rules scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/agent.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -I https://10.10.20.10 # Should succeed (LAN to SERVERS)
cyber-security/ctf/configuring-pfsense-firewall-rules/SKILL.md · 355 lines

How it starts

The opening of the file, as written. The whole thing — 355 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Configuring pfSense Firewall Rules

When to Use

  • Deploying a perimeter or internal firewall to segment and protect network zones (DMZ, internal, guest, IoT)
  • Creating granular access control rules to restrict traffic between VLANs and network segments
  • Configuring NAT rules for port forwarding to internal services exposed to the internet
  • Setting up site-to-site or remote access VPN tunnels using IPsec or OpenVPN
  • Implementing traffic shaping and bandwidth management for quality-of-service requirements

Do not use as a substitute for host-based firewalls on individual systems, for SSL/TLS deep packet inspection without dedicated hardware acceleration, or as the sole security control without complementary IDS/IPS.

Prerequisites

  • pfSense 2.7+ installed on dedicated hardware or virtual machine with at least two network interfaces
  • Access to the pfSense WebConfigurator (default: https://192.168.1.1)
  • Network topology diagram showing all interfaces, VLANs, and desired traffic flow
  • DNS and DHCP configuration planned for each network zone
  • Understanding of TCP/IP, NAT, and stateful firewall concepts

Workflow

Step 1: Configure Network Interfaces and VLANs

Access the pfSense WebConfigurator and define interfaces:

Navigate: Interfaces > Assignments

WAN Interface (igb0):
  - Type: DHCP or Static IP from ISP
  - Block private networks: Enabled
  - Block bogon networks: Enabled

LAN Interface (igb1):
  - IPv4: 10.10.1.1/24
  - Description: CORPORATE_LAN

Create VLANs:
  Navigate: Interfaces > VLANs > Add
  - VLAN 10 on igb1: DMZ (10.10.10.1/24)
  - VLAN 20 on igb1: SERVERS (10.10.20.1/24)
  - VLAN 30 on igb1: GUEST (10.10.30.1/24)
  - VLAN 40 on igb1: IOT (10.10.40.1/24)

Assign VLANs:
  Navigate: Interfaces > Assignments > Add each VLAN
  Enable each interface and assign the gateway IP

Step 2: Configure DHCP and DNS for Each Zone

Navigate: Services > DHCP Server

CORPORATE_LAN (10.10.1.0/24):
  Range: 10.10.1.100 - 10.10.1.200
  DNS: 10.10.20.10 (internal DNS server)
  Gateway: 10.10.1.1

DMZ (10.10.10.0/24):
  Range: 10.10.10.100 - 10.10.10.200
  DNS: 10.10.20.10
  Gateway: 10.10.10.1

GUEST (10.10.30.0/24):
  Range: 10.10.30.100 - 10.10.30.200
  DNS: 1.1.1.1, 8.8.8.8 (public DNS only)
  Gateway: 10.10.30.1

Navigate: Services > DNS Resolver
  Enable DNS Resolver on all interfaces except GUEST
  Enable DNSSEC
  Configure forwarding to upstream DNS servers

Read the full file on GitHub · 355 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 355 lines · 88 tokens per session scan A f7ede9358003

Subscribe to this mod's changes

configuring-pfsense-firewall-rules is a skill published in the GitHub repository Youngmaidainon/Agent-Level-Up (3 stars, last pushed 14d ago), licensed MIT. It adds 88 tokens to every session and 3,276 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.