linux-routing SKILL.md skillA

linux-routing from nordz0r/skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add nordz0r/skills/linux-routing@git:20261013.df0a08f

Pins git:20261013.df0a08f in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
nordz0r/skills
Path
plugins/infra-linux/skills/linux-routing/SKILL.md
Versions recorded
3
Latest version
git:20261013.df0a08f, committed Oct 13, 2026
First version recorded
Sep 2, 2026
Size
2,629 bytes
Repository stars
8
License
none declared

Linux split-tunnel and policy routing: ip rule, fwmark, WAN, awg0, default via VPN, nft masquerade, rp_filter, conntrack. Not OpenWrt, not podkop, not UCI. Triggers: split-tunnel, ip rule, fwmark, multiple default, rt_tables, source-based routing, маршрутизация, таблица маршрутов, раздельный туннель.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Linux Routing

Skill for routing and NAT on a Linux host (iproute2 + nftables).
Write `ip`/`nft` commands that can be pasted into a console or a unit.

Do not use it for:

- OpenWrt + podkop/sing-box → `podkop-openwrt-guide`
- zapret DPI → `zapret-openwrt-guide`
- Docker bridge overlay as the main subject → `docker-ops`
- Amnezia keys/handshake → `amnezia-vpn`; only OS routes/NAT belong here

## When to use

- Two default routes, VPN + WAN, split-tunnel.
- `ip rule`, tables, fwmark, source-based routing.
- NAT/masquerade, port forward, conntrack.
- A packet goes into the VPN and the reply never comes back; asymmetric routing.
- WireGuard/AWG `AllowedIPs` vs `ip route`.

## Workflow

1. Capture the picture: `ip -br addr`, `ip route`, `ip rule`, `nft list ruleset`.
2. Separate L3 (route/rule) from L4 NAT (nft) and from firewall drops.
3. Change one table/rule at a time. Never blindly delete the default route in main.
4. Check with `ip route get <dst> from <src> iif <if> mark <hex>`.
5. Persistence: `/etc/iproute2/rt_tables`, netplan/NM dispatcher, nftables.conf
   — not "commands in the SSH history".

## Quick snapshot

```bash
ip -br addr
ip route show table all
ip rule show
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add nordz0r/skills/linux-routing@sha256:d1f2cbedb92a6a9c

The line at the top of this page pins the label git:20261013.df0a08f, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_64p4h3fxzhbwcevn.svg)](https://markdownregistry.com/a/art_64p4h3fxzhbwcevn)

0 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 3 versions of this file, between Sep 2, 2026 and Oct 13, 2026, about one every 21 days.

versioncommittedcommitsizeaudit
git:20261013.df0a08f latest2026-10-13 df0a08f 2,629 BA view · diff
git:20260919.c5defa22026-09-19 c5defa2 2,739 BA view · diff
git:20260902.6c69dd72026-09-02 6c69dd7 3,183 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (2629 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

nordz0r/skills · 8 stars · license none declared · pushed 2026-10-24 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_64p4h3fxzhbwcevn
GET https://markdownregistry.com/api/v1/resolve?ref=nordz0r/skills/linux-routing
GET https://markdownregistry.com/api/v1/blob/d1f2cbedb92a6a9cffba1311b7cf5206cd27207463348084c0399f17e519d9d9

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from nordz0r/skills

AGENTS.md AGENTS.md file
nordz0r/skills · AGENTS.md
git:20261022.625309c · audit A · 8 stars
administering-linux SKILL.md skill
nordz0r/skills · administering-linux/SKILL.md · Hands-on Linux administration of a systemd host: journalctl, systemctl, unit, drop-in, failed-service after reboot…
git:20261013.df0a08f · audit A · 8 stars
agency-database-optimizer SKILL.md skill
nordz0r/skills · agency-database-optimizer/SKILL.md · Database design, migration safety, indexing, EXPLAIN analysis, query tuning, connection management, and production-safe…
git:20261013.316320c · audit A · 8 stars
agency-devops-automator SKILL.md skill
nordz0r/skills · agency-devops-automator/SKILL.md · Automation-first platform delivery for CI/CD, Terraform, Ansible, Kubernetes, k3s, Helm, Vault, qdrant, release…
git:20261013.316320c · audit A · 8 stars
agency-incident-response-commander SKILL.md skill
nordz0r/skills · agency-incident-response-commander/SKILL.md · Structured incident handling for outages, live incidents, SEV triage, rollback decisions, stakeholder updates…
git:20261013.316320c · audit A · 8 stars
agency-security-engineer SKILL.md skill
nordz0r/skills · agency-security-engineer/SKILL.md · Practical application and platform security for threat modeling, authn and authz review, secret handling, hardening…
git:20261013.316320c · audit A · 8 stars
agency-sre SKILL.md skill
nordz0r/skills · agency-sre/SKILL.md · Reliability engineering for SLO, SLI, SLOs, SLIs, observability, alert quality, capacity, saturation, toil reduction…
git:20261013.316320c · audit A · 8 stars
agency-technical-writer SKILL.md skill
nordz0r/skills · agency-technical-writer/SKILL.md · Technical writing for READMEs, runbooks, runbook rewrite, stale docs, contributor guide, CONTRIBUTING, infra repo…
git:20261013.316320c · audit A · 8 stars
amnezia-vpn SKILL.md skill
nordz0r/skills · amnezia-vpn/SKILL.md · Optimal configuration of AmneziaWG and Xray VPN (not installation or deployment). AmneziaWG 1.0-3.1 parameters and…
git:20261024.d08f755 · audit A · 8 stars
amneziawg-openwrt-guide SKILL.md skill
nordz0r/skills · amneziawg-openwrt-guide/SKILL.md · AmneziaWG on OpenWrt routers: packages kmod-amneziawg, amneziawg-tools, luci-proto-amneziawg…
git:20261015.f69f57c · audit A · 8 stars
ansible-playbook SKILL.md skill
nordz0r/skills · ansible-playbook/SKILL.md · Ansible playbooks and roles: ansible-playbook, undefined variable, variable precedence, idempotency, changed tasks…
git:20261013.df0a08f · audit A · 8 stars
atlassian SKILL.md skill
nordz0r/skills · atlassian/SKILL.md · Hands-on Atlassian work through Python utilities: Jira (issues, JQL search, workflow transitions, agile boards…
git:20261013.c62b85e · audit A · 8 stars

Every file in nordz0r/skills

Other files named linux-routing

linux-routing SKILL.md skill
nordz0r/skills · plugins/all-skills/skills/linux-routing/SKILL.md · Linux split-tunnel and policy routing: ip rule, fwmark, WAN, awg0, default via VPN, nft masquerade, rp_filter…
git:20261013.df0a08f · audit A · 8 stars
linux-routing SKILL.md skill
nordz0r/skills · linux-routing/SKILL.md · Linux split-tunnel and policy routing: ip rule, fwmark, WAN, awg0, default via VPN, nft masquerade, rp_filter…
git:20261013.df0a08f · audit A · 8 stars

Browse by kind, by grade A, or by owner.