WireGuard-based Network Tunneling and Monitoring Tool

Personal Project

A .NET 10 WPF Windows client with per-application routing, full-tunnel mode, and Windows service integration, paired with Ubuntu server management tooling.

The problem and purpose

For personal use, routing only specific applications through a remote server—or switching to a full-tunnel mode when needed—required manual route handling and server administration in the standard WireGuard client. The goal was to build a Windows desktop client for per-application routing alongside server-side tooling for peer management and remote monitoring.

My role

I designed and built the tool end to end for personal use. On Windows, I structured the .NET 10 WPF client into Core, App, and Tests layers. On the server side, I wrote Bash scripts for WireGuard setup and peer management on an Oracle Cloud (Frankfurt) Ubuntu instance, a Python split-TCP proxy running under systemd, and an ntfy-based monitoring flow.

Key decisions

  • Separated .NET 10 WPF client architecture across Core, App, and Tests layers
  • WireGuard profile import, learning per-application server networks and routing them through OS routes, plus a full-tunnel mode
  • Windows service integration for tunnel management and self-contained packaging with PowerShell
  • 23 xUnit tests covering the client logic
  • Bash scripts for WireGuard setup and peer management on Oracle Cloud (Frankfurt) Ubuntu
  • Python split-TCP proxy running as a systemd service
  • Tested Python component for ntfy command-based monitoring, peer blocking, and usage reporting; private endpoints and keys are out of scope

Architecture

The Windows client uses a Windows service and OS routing rules to send selected application traffic over WireGuard. On the server side, the Oracle Cloud (Frankfurt) Ubuntu host runs WireGuard and the Python split-TCP proxy under systemd, while ntfy handles command-based monitoring and usage reports.

  1. .NET 10 WPF + ServicePer-app routes and full tunnel
  2. Ubuntu + WireGuardOracle Cloud (Frankfurt) and split-TCP proxy
  3. ntfy MonitoringCommand control, peer block and reports
The Windows WPF client routes selected traffic over WireGuard to the Ubuntu host, with ntfy handling monitoring and peer control.

Outcome

Built for personal use, the project delivered a self-contained Windows client verified by 23 xUnit tests together with tested Python monitoring and Bash server-management scripts.

Turn technical decisions into a working product.

Get in touch to discuss a SaaS product, custom web application, or AI prototype.

Start a conversation