# VPN Proxy

Windows tool that sends a short list of sites through a VPN while all other traffic stays direct. A local proxy and a routing script built from a domain list are enabled as the system proxy at start and removed on exit. It ships as an install package for colleagues with a diagnostics report.

- **Facts:** 2026, Personal project, Completed, role: Sole developer
- **What I did:** I designed and wrote the whole tool alone, from the proxy and the routing script to the tests, the installer and the diagnostics report.
- **Scope:** devops
- **Domain:** developer-tools
- **Stack:** Python, Git, Claude Code
- **Page:** https://sergey-petrinich.vercel.app/work/vpn-proxy

Capabilities:

- Local proxy that sends only the listed sites to the VPN and everything else direct
- Routing script generated from a plain text list of 25+ domains, with a dot check against look-alike domains
- Registered as the system proxy at start and removed on exit, so Chrome follows it without an extension
- Two processes from one executable, joined by a named pipe so the VPN client's filters never see loopback traffic
- Bridge that closes each side separately, so an accepted reply is not lost to a reset
- Python standard library only, 450+ lines including tests and log tools
- Install package for colleagues with installer, uninstaller and a diagnostics script that writes a report
- Build that refuses to package when a check is red or the package holds an unexpected entry
- Self-check of five networking tests that can be pointed at an older copy to prove it goes red, plus a separate check of the diagnostics script
- Two analysers for the browser's network log that show which proxy each host used

Back to the [work archive](https://sergey-petrinich.vercel.app/work.md) · [CV](https://sergey-petrinich.vercel.app/cv.md) · [all of it in one file](https://sergey-petrinich.vercel.app/llms-full.txt)
