srx-ipsec-hub-spoke

srx-ipsec-hub-spoke is a skill for Codex from fastrevmd-lab/fwskillsshare. It costs 83 tokens per session (6,434 once invoked), scanned A, original, MIT.

Instructions for building a static route-based IPsec VPN hub and spoke network on Juniper SRX firewalls. In this layout, each remote spoke has an explicitly configured encrypted tunnel to a central hub.

In plain words
What is it for?
Use it to configure per-spoke IKE and IPsec settings, tunnel interfaces, static routes, anti-recursion, centralized source NAT, security policies, and hub hairpinning.
Why use it?
It provides a clear way to send spoke traffic through one central internet exit, where it can be filtered, logged, inspected, or routed to another spoke.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: names the AskUserQuestion tool; mentions Codex.

Good fit Use it to configure per-spoke IKE and IPsec settings, tunnel interfaces, static routes, anti-recursion, centralized source NAT, security policies, and hub hairpinning.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/fastrevmd-lab/fwskillsshare/srx-ipsec-hub-spoke
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 fastrevmd-lab/fwskillsshare --skill srx-ipsec-hub-spoke
Clone the repo
git clone --depth 1 https://github.com/fastrevmd-lab/fwskillsshare

Made for: 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 srx-ipsec-hub-spoke

README.md
[![agentmods](https://agentmods.dev/badge/skills/fastrevmd-lab/fwskillsshare/srx-ipsec-hub-spoke/github.svg)](https://agentmods.dev/skills/fastrevmd-lab/fwskillsshare/srx-ipsec-hub-spoke)
Your own site
<a href="https://agentmods.dev/skills/fastrevmd-lab/fwskillsshare/srx-ipsec-hub-spoke"><img src="https://agentmods.dev/badge/skills/fastrevmd-lab/fwskillsshare/srx-ipsec-hub-spoke/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 srx-ipsec-hub-spoke

Your own site · 80×15
<a href="https://agentmods.dev/skills/fastrevmd-lab/fwskillsshare/srx-ipsec-hub-spoke"><img src="https://agentmods.dev/badge/skills/fastrevmd-lab/fwskillsshare/srx-ipsec-hub-spoke.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 83 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,434 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00083 $0.06434
Opus 5 $0.00042 $0.03217
Sonnet 5 $0.00017 $0.01287
Haiku 4.5 $0.00008 $0.00643

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

Security

Grade A, and why

srx-ipsec-hub-spoke scanned grade A with 0 findings 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 11d ago.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/srx-ipsec-hub-spoke/SKILL.md · 429 lines

How it starts

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

SRX Static Point-to-Point IPsec Hub-and-Spoke (Full-Tunnel Backhaul)

Overview

Static per-spoke route-based IPsec is the simplest, most explicit way to build a hub-and-spoke overlay: each spoke is an explicitly configured peer with its own IKE gateway, IPsec VPN, st0 unit, and static route on the hub. There is no dynamic gateway, no traffic selectors, and no Auto Route Insertionrouting alone decides what each tunnel carries.

This skill applies that to full-tunnel backhaul: every spoke sends everything not local to its own LAN up its tunnel to the hub. Core principle: if traffic is not local to a spoke, it goes to the hub. The hub then source-NATs internet-bound traffic out its WAN and hairpins spoke-to-spoke traffic out the destination spoke's tunnel un-NAT'd. The motivation is centralized egress — inspect/filter/log all internet traffic at one point (UTM/IDP on the hub).

The full-tunnel changes versus a split tunnel are confined to four things: the spoke's default route into the tunnel, hub egress routing/NAT, two added hub security policies, and the hub's per-spoke static routes. Everything else is standard route-based IPsec.

Attribution. The reference topology, full-tunnel backhaul approach, and the validated set-format configuration this skill summarizes come from Jason Anderson's lab srx-p2p-ipsec-public (https://github.com/anderson-jason573/srx-p2p-ipsec-public), built on four vSRX (Junos OS 23.2R2.21) plus a Cisco IOS-XE WAN transit router. See references/source-design-summary.md.

Scope and routing

Use static tunnels for a small stable estate where every peer, st0, and route must be explicit. Use srx-autovpn-full-tunnel for many or changing spokes, srx-advpn for direct branch shortcuts, and another design when spokes need local breakout.

Runtime intake

Before starting the workflow, inspect the request, supplied artifacts, and available approved read-only evidence. If unresolved facts could materially change safety, scope, correctness, confidence, or the requested output, read references/runtime-intake.md.

Read the full file on GitHub · 429 lines

Files

What ships with it

4 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. 11d ago First seen · 429 lines · 83 tokens per session scan A 1a76bf907bfa

Subscribe to this mod's changes

srx-ipsec-hub-spoke is a skill published in the GitHub repository fastrevmd-lab/fwskillsshare (8 stars, last pushed 14d ago), licensed MIT. It adds 83 tokens to every session and 6,434 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

fmc-firewall-ops

Cisco Secure Firewall FMC — access policy search, rule inspection, FTD device targeting, multi-FMC profile management. Use when searching firewall rules by IP or FQDN, checking if host A can reach host B through the firewall, auditing FMC access policies, or reviewing SGT-based segmentation rules.

automateyournetwork/netclaw · 67 tokens

fortianalyzer-ops

FortiAnalyzer log operations — policy-filtered traffic log query within a bounded time window, offset pagination, per-policy activity checks, and logging-device inventory. Use when asking whether traffic actually matched a firewall rule, investigating what hit a policy, or determining whether a rule is genuinely…

automateyournetwork/netclaw · 63 tokens

fortigate-ops

FortiGate device operations — system status, interfaces, routing, IPsec VPN tunnel state with phase 1 and phase 2 reported separately, HA member identification, per-VDOM scoping, and manager-vs-device drift detection. Use when asking what a FortiGate is ACTUALLY doing right now, whether a tunnel is up, or whether the…

automateyournetwork/netclaw · 86 tokens

fortimanager-ops

FortiManager policy operations — ADOM inventory, policy package review, recursive object resolution, revision history, install preview, and gated package install. Use when auditing FortiGate firewall policy at the MANAGER level (intent), reviewing ADOM policy packages, or planning a package install with rollback…

automateyournetwork/netclaw · 66 tokens

meraki-security-appliance

Cisco Meraki MX security appliance (read-only) — L3/L7 firewall rules, content filtering, IDS/IPS and AMP settings, site-to-site VPN, traffic shaping via Cisco's official Meraki MCP. Use when auditing Meraki firewall rules, reviewing content filtering, or inspecting MX VPN configuration.

automateyournetwork/netclaw · 66 tokens

radkit-remote-access

Cisco RADKit — cloud-relayed remote device access, CLI execution, SNMP polling, device inventory discovery, attribute inspection. Use when accessing remote network devices through a cloud relay, running CLI on air-gapped devices, polling SNMP metrics remotely, or discovering device inventory via RADKit.

automateyournetwork/netclaw · 64 tokens