Agent skill · Backend & API

homelab-wireguard-vpn

WireGuard VPN server setup, peer configuration, key generation, split tunneling vs full tunnel routing, and remote access to a home network from mobile and laptop clients.

mturacgithub.com/mturacGitHub ↗
codexcopilotcursorMIT
Install
npx skills add mturac/everything-openai-codex --skill homelab-wireguard-vpn --agent codex

Same command for any agent — swap --agent for claude-code, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 10 KB
Bundled scripts: none
Path: skills/homelab-wireguard-vpn/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 84
Language: JavaScript

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Homelab WireGuard VPN WireGuard is a fast, modern VPN protocol. It is the right choice for remote access to a home network — simpler to configure than OpenVPN and faster than most alternatives. All configuration examples show common setups. Review each command — especially the iptables forwarding rules and key file permissions — before applying them to your system, and make changes in a maintenance window. ## When to Use - Setting up WireGuard server on a Raspberry Pi, Linux host, pfSense, or router - Generating WireGuard keypairs and writing peer config files - Configuring remote access from a phone or laptop to a home network - Explaining split tunneling (route only home traffic) vs full tunnel (route all traffic) - Troubleshooting WireGuard connections that will not come up - Automating peer configuration generation for multiple clients ## How WireGuard Works ``` Your phone (WireGuard client) │ │ Encrypted UDP tunnel (port 51820) │ Your home router (WireGuard server — needs a public IP or DDNS) │ Your home network (192.168.1.0/24, NAS, Pi, etc.) Every device has a keypair (public + private key). The server knows each client's public key. The client knows the server's public ke

What's inside
Steps it walks through
  1. When to Use
  2. How WireGuard Works
  3. Server Setup (Linux)
  4. Client Configuration
  5. Split Tunnel vs Full Tunnel
  6. Key Generation and Peer Management
  7. pfSense / OPNsense WireGuard
  8. DDNS (Dynamic DNS) for Home Servers
  9. Troubleshooting
  10. Anti-Patterns
  11. Best Practices
  12. Related Skills
Commands it runs
Install WireGuard
sudo apt update && sudo apt install wireguard -y
Generate server keypair — create files with private permissions from the start
sudo mkdir -p /etc/wireguard
sudo sh -c 'umask 077; wg genkey > /etc/wireguard/server_private.key'
sudo sh -c 'wg pubkey < /etc/wireguard/server_private.key > /etc/wireguard/server_public.key'
Write server config — substitute the actual private key value
Do not store private keys in version control or share them
sudo tee /etc/wireguard/wg0.conf << 'EOF'
sudo chmod 600 /etc/wireguard/wg0.conf
More from everything-openai-codex
All skills →
About this skill
What does the homelab-wireguard-vpn skill do?

WireGuard VPN server setup, peer configuration, key generation, split tunneling vs full tunnel routing, and remote access to a home network from mobile and laptop clients.

How do I install it?

Run `npx skills add mturac/everything-openai-codex --skill homelab-wireguard-vpn --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From mturac/everything-openai-codex, a repository with 84 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going