wireguard

wireguard is a skill for Claude Code, Codex from LuuOW/meridian-mcp. It costs 41 tokens per session (1,913 once invoked), scanned B, original, MIT.

A guide to setting up and managing WireGuard, a VPN that creates an encrypted connection between trusted devices. It covers keys, peers, routing choices, and starting the VPN automatically with systemd.

In plain words
What is it for?
Use it to configure VPN servers and clients, add peers, rotate keys, choose split-tunnel or full-tunnel routing, and keep the connection running after restarts.
Why use it?
It helps secure administrative access to servers and control whether traffic uses only the private network or the VPN for all internet access.

Skill for Claude CodeCodex

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

Good fit Use it to configure VPN servers and clients, add peers, rotate keys, choose split-tunnel or full-tunnel routing, and keep the connection running after restarts.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/luuow/meridian-mcp/wireguard
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 LuuOW/meridian-mcp --skill wireguard
Clone the repo
git clone --depth 1 https://github.com/LuuOW/meridian-mcp

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 wireguard

README.md
[![agentmods](https://agentmods.dev/badge/skills/luuow/meridian-mcp/wireguard/github.svg)](https://agentmods.dev/skills/luuow/meridian-mcp/wireguard)
Your own site
<a href="https://agentmods.dev/skills/luuow/meridian-mcp/wireguard"><img src="https://agentmods.dev/badge/skills/luuow/meridian-mcp/wireguard/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 wireguard

Your own site · 80×15
<a href="https://agentmods.dev/skills/luuow/meridian-mcp/wireguard"><img src="https://agentmods.dev/badge/skills/luuow/meridian-mcp/wireguard.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,913 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 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.00041 $0.01913
Opus 5 $0.00020 $0.00957
Sonnet 5 $0.00008 $0.00383
Haiku 4.5 $0.00004 $0.00191

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

Security

Grade B, and why

wireguard scanned grade B 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 6d 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

chmod 600 /etc/wireguard/private.key
skills/wireguard/SKILL.md · 206 lines

How it starts

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

wireguard

Production WireGuard VPN for securing admin access to VPS infrastructure. Covers server setup, client configuration, key lifecycle, routing topologies, and systemd persistence.

Key Generation

# Install
apt install wireguard

# Generate a key pair (do this for every peer — server and each client)
wg genkey | tee /etc/wireguard/private.key | wg pubkey > /etc/wireguard/public.key
chmod 600 /etc/wireguard/private.key

# Pre-shared key (optional, adds post-quantum resistance)
wg genpsk > /etc/wireguard/psk.key
chmod 600 /etc/wireguard/psk.key

# View keys
cat /etc/wireguard/public.key

Key hygiene:

  • Private keys never leave the machine they were generated on
  • Pre-shared key must be the same on both peers — share via encrypted channel (not chat)
  • Rotate keys by regenerating the pair and re-distributing the new public key to all peers

Server Configuration

# /etc/wireguard/wg0.conf — server (hub in a hub-and-spoke topology)
[Interface]
Address    = 10.8.0.1/24
ListenPort = 51820
PrivateKey = <server-private-key>

# Enable NAT so VPN clients can reach the internet through the server
PostUp   = iptables -A FORWARD -i wg0 -j ACCEPT; \
           iptables -A FORWARD -o wg0 -j ACCEPT; \
           iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
PostDown = iptables -D FORWARD -i wg0 -j ACCEPT; \
           iptables -D FORWARD -o wg0 -j ACCEPT; \
           iptables -t nat -D POSTROUTING -o eth0 -j MASQUERADE

# ── Peer: developer laptop ──
[Peer]
PublicKey    = <client-public-key>
PresharedKey = <psk>                  # optional
AllowedIPs   = 10.8.0.2/32            # this peer's VPN IP only

# ── Peer: CI server ──
[Peer]
PublicKey  = <ci-public-key>
AllowedIPs = 10.8.0.3/32
# Requires IP forwarding — verify it's on
sysctl net.ipv4.ip_forward   # should be 1
# Make permanent:
echo 'net.ipv4.ip_forward=1' >> /etc/sysctl.d/99-wireguard.conf
sysctl -p /etc/sysctl.d/99-wireguard.conf

Client Configuration

# /etc/wireguard/wg0.conf — client (split-tunnel: only internal ranges via VPN)
[Interface]
Address    = 10.8.0.2/24
PrivateKey = <client-private-key>
DNS        = 10.8.0.1            # use server as DNS resolver (optional)

[Peer]
PublicKey           = <server-public-key>
PresharedKey        = <psk>
Endpoint            = server-ip:51820
AllowedIPs          = 10.8.0.0/24, 10.0.0.0/8    # split-tunnel: only VPN + internal ranges
PersistentKeepalive = 25                           # keep NAT open (set if behind NAT)

Read the full file on GitHub · 206 lines

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. 6d ago First seen · 206 lines · 41 tokens per session scan B dc9c97be000e

Subscribe to this mod's changes

wireguard is a skill published in the GitHub repository LuuOW/meridian-mcp (0 stars, last pushed yesterday), licensed MIT. It adds 41 tokens to every session and 1,913 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

vpn

A guide to setting up and managing VPNs, private network connections that protect or route traffic between devices and servers. It covers WireGuard, OpenVPN, and IPsec, with emphasis on WireGuard commands and configuration.

chaterm/terminal-skills · 7 tokens

pilot-api-gateway-manager-setup

Deploy an API gateway management system with 4 agents. Use this skill when: 1. User wants to set up API gateway management with service discovery, routing, auth, and monitoring 2. User is configuring agents for API request routing, rate limiting, or backend health tracking 3. User asks about API gateway pipelines…

TeoSlayer/pilot-skills · 133 tokens

install-watchdog

Installs egregore watchdog daemon via launchd or systemd for autonomous relaunching. Use when setting up egregore on a new machine. Do not use on CI/CD runners.

athola/claude-night-market · 43 tokens

aws-network-ops

AWS cloud networking — VPC, Transit Gateway, Cloud WAN, VPN, Network Firewall, ENI, flow logs. Use when auditing AWS VPCs, troubleshooting connectivity between EC2 instances, checking Transit Gateway routes, or investigating VPN tunnel status.

automateyournetwork/netclaw · 55 tokens

azure-network-ops

Azure cloud networking -- VNets, NSGs, ExpressRoute, VPN Gateways, Azure Firewalls, Load Balancers, Application Gateways, Route Tables, Network Watcher, Private Endpoints, DNS zones. Use when auditing Azure VNets, troubleshooting hybrid connectivity (ExpressRoute/VPN), checking NSG rules, inspecting firewall policies…

automateyournetwork/netclaw · 80 tokens

cis-aws-compute-2.9

Ensure use of AWS Systems Manager to manage EC2 instances.

CyberStrikeus/CyberStrike · 21 tokens