![]()
General
Awesome Repositories
- awesome-networking: Curated list of awesome computer networking resources π (Recommended)
- awesome-tunneling : List of ngrok/Cloudflare Tunnel alternatives and other tunneling software and services. Focus on self-hosting. π (Recommended)
- HowDoesInternetWork - Protocols β All great networking protocols arranged and explained
- network-examples: Linux networking examples and tutorials
Blogs
Landscape
- LF Networking Landscape: LF Networking (LFN) provides the largest set of open source networking projects via a broad industry coalition that comprise the open networking stack.
Articles
Overview
- NetworkWorld - The state of open-source networking: Foundations and technologies driving todayβs networks π (Recommended)
- Advantage Networking Fundamental - Routing, VPN and Peering
- GeekforGeek - Types of Network Protocols
BGP
DNS
- Dev.to - WireGuard DoV (DNS-over-VPN) π (Recommended)
Network in Linux
- RedHat - Introduction to Linux interfaces for virtual networking
- Medium - Exploring Linux Network Namespaces: Creating and Communicating with Isolated Network Environments
- SDNClinic - Linux Routing Fundamentals
Network Protocol
- Blog - Visualizing Network Topologies: Zero to Hero in Two Days
- Smashing Magazine - HTTP/3 From A To Z: Core Concepts
- Blog - Using HTTP/3 in gRPC
- Medium - The Past and Present of Browser Architecture
VxLAN
Network Tools & OpenSources
![]()
Routing
DNS
- pdns: PowerDNS Authoritative, PowerDNS Recursor, dnsdist
- nip.io: Dead simple wildcard DNS for any IP address.
- sslip.io: Golang-based DNS server which maps DNS records with embedded IP addresses to those addresses.
DDNS
- DDNS Cloudflare: Setting Cloudflare DDNS for dynamically change your domain record with new IP base on the concept DNS. (Note: Use this one with
crontabfor more efficiency)
NFS
- nfs-ganesha: an NFSv3,v4,v4.1 fileserver that runs in user mode on most UNIX/Linux systems π (Recommended)
Network Calculator
- Subnet Calculator: Calculator CIDR concept of subnet π (Recommended)
- VLSM Calculator: Calculator VLSM concept of subnet π (Recommended)
Network Infrastructure
- ZTM : A privacy-first open-source decentralized network software based on HTTP/2 tunnels.
RDP
- FreeRDP: FreeRDP is a free remote desktop protocol library and clients
Reverse Proxy & Tunneling
- bore: π³ bore is a simple CLI tool for making tunnels to localhost π (Recommended)
- frp: A fast reverse proxy to help you expose a local server behind a NAT or firewall to the internet.
- GO Simple Tunnel: A simple security tunnel written in golang
- localtunnel: Localtunnel allows you to easily share a web service on your local development machine without messing with DNS and firewall settings. π (Recommended)
- rathole: A lightweight and high-performance reverse proxy for NAT traversal, written in Rust. An alternative to frp and ngrok.
- wstunnel : Tunnel all your traffic over Websocket or HTTP2 - Bypass firewalls/DPI - Static binary available π (Recommended)
VPN
- openvpn-install.sh: Setting up
openvpnfor your host π (Recommended) - wireguard-install.sh: Setting up
wireguardvpnfor your host - vpncloud: Peer-to-peer VPN
- pritunl: Enterprise VPN server π (Recommended)
- netbird: NetBird securely connects people, machines and AI agents across any network with one identity-based Zero Trust platform. Powered by peer-to-peer WireGuard
- headscale: An open source, self-hosted implementation of the Tailscale control server
VIP (Virtual IP Address)
- vip-manager: Manages a virtual IP based on state kept in etcd or Consul
Matrix Solution & OpenSource Comparison
VPN Solutions for Site-to-Site
HUB-AND-SPOKE (Pritunl) PEER-TO-PEER MESH (NetBird)
[Site A] [Site B] [Site A Router] <====Direct====> [Site B Router]
\ / \ /
\ / \ /
[Pritunl Server] [NetBird Control Plane]
(Central Bottleneck) (Exchanges Keys/Metadata Only)| Feature / Metric | NetBird | Pritunl (WireGuard/OpenVPN) | Headscale + Tailscale Client | Defined Net / Nebula |
|---|---|---|---|---|
| Data-Path Latency | Lowest (Direct P2P WireGuard) | Medium to High (Routed through Gateway) | Lowest (Direct P2P WireGuard) | Lowest (Direct P2P Noise/UDP) |
| Control-Plane Model | Fully Open Source (BSD-3/AGPLv3) | Open Core (Proprietary enterprise features) | Open Source (Community engine for Tailscale) | Fully Open Source (Apache 2.0) |
| NAT Traversal Mechanism | ICE / WebSockets / Custom STUN & TURN | Traditional Port Forwarding / Static IPs | STUN / DERP Relays | Lighthouse nodes / UDP hole punching |
| Site-to-Site Gateway | Native Routing Nodes | Traditional Central VPN Server | Subnet Routers | Relies on Overlay IPs per host |
| ACL / Policy Model | Centralized UI / API Group-based ZTNA | Organization & Route-based ACLs | YAML Policy / JSON ACLs | Host-level PKI certificates |
| Key Management | Automated via Signal Server | Automated via Pritunl Server | Automated via Headscale Server | Manual / Automated PKI CA setup |
| Dimension | Native NetBird Gateway | VXLAN / EVPN over NetBird (VyOS) |
|---|---|---|
| Encapsulation Overhead | Lowest (Outer IP + UDP + WireGuard) | Higher (Outer IP + UDP + WireGuard + VXLAN Header) |
| Layer Adjacency | Layer 3 Only (IP Routing between subnets) | Layer 2 or Layer 3 (Stretched VLANs & L3VPN) |
| Control Plane | NetBird Management UI (Static Routes/ACLs) | MP-BGP EVPN running inside the WireGuard tunnel |
| MTU Penalty | ~60 Bytes (WireGuard over IPv4) | ~110 Bytes (60 B WireGuard + 50 B VXLAN) Max MTU |
| Multi-Tenancy | Groups/ACLs in NetBird UI | VRF & VNI Isolation (True enterprise multi-tenancy) |
| Setup Complexity | Very Low (Docker Compose + simple UI) | High (Requires VyOS, BGP/EVPN knowledge, and container management) |
DNS with Networking Solutions
- DNS Resolvers / Proxies (Layer 7 DNS):
dnsproxy,CoreDNS,Unbound - Reverse Tunnels / NAT Traversal (Layer 4 TCP/UDP Port Forwarders):
rathole,frp - Transparent IP-Level Tunnels (Layer 3 Network Tun):
tun2socks
| Tool | Category | Primary Function | Encrypted Upstream Support (DoH/DoT/DoQ) | NAT Traversal / Remote Expose | Layer 3 Routing (System-wide traffic) | Complexity & Overhead | Best Use Case |
|---|---|---|---|---|---|---|---|
dnsproxy | DNS Proxy | High-performance DNS proxy & DoH/DoT listener | Native & Excellent (DoH, DoT, DoQ, DNS-over-HTTPS/3) | β No | β No | Very Low (Single binary, lightweight Go engine) | Forwarding local client DNS to remote VPS secure endpoints with ultra-low latency. |
CoreDNS | DNS Resolver / Server | Extensible plugin-based DNS middleware engine | High (via plugins like forward or tls) | β No | β No | Medium (Requires Corefile syntax knowledge) | Complex DNS rewriting, split-horizon routing, or enterprise Kubernetes integration. |
Unbound | Recursive DNS Resolver | Authoritative/Recursive root server querying | Moderate (Primarily DoT upstream & DNSSEC) | β No | β No | Medium to High (Requires tuning C/cache settings) | Maximum privacy by resolving directly to root nameservers without upstream ISP dependencies. |
rathole | Layer 4 Reverse Proxy | High-performance Rust-based port forwarder | N/A (Exposes raw TCP/UDP port data) | Native & Optimized | β No | Low (Simple client/server configuration) | Tunnelling UDP (port 53) or TCP (DoT) traffic through NAT/firewalls from VPS to home server. |
frp | Layer 4/7 Reverse Proxy | Feature-rich reverse proxy / NAT traversal | N/A (Proxies raw protocols) | Native & Feature-Rich (includes Web Dashboard) | β No | Medium (Higher memory overhead than rathole) | Exposing internal DNS endpoints behind deep NATs with a web UI management interface. |
tun2socks | Layer 3 TUN Device | Translates system TUN interface traffic to SOCKS5/HTTP proxy | N/A (Operates on raw IP packet level) | β No (Requires external proxy gateway) | Native & Complete | Medium (Requires OS-level routing table adjustments) | Forcing all OS-level network traffic (including all system DNS queries) through a VPS proxy. |
Depending on the exact target architecture for the VPS DNS pipeline, the following combinations yield the best results:
Option A: Ultra-Fast Secure Forwarder (Low Overhead)
- Stack:
dnsproxy(Client/Local) NetBird / WireGuarddnsproxyorCoreDNS(VPS) - Why:
dnsproxyuses minimal memory and CPU while natively handling DoH/DoT/DoQ multiplexing. Combined with WireGuard or NetBird direct P2P mesh, it eliminates proxy overhead.
Option B: Exposing Home DNS via VPS (Behind CGNAT / Firewalls)
- Stack:
Unbound/CoreDNS(Home Network)ratholeclientratholeserver (VPS Public IP) - Why:
ratholeprovides lightweight, memory-safe Rust-based NAT traversal. The public VPS receives DNS queries on port 53 and tunnels them directly to your homeUnboundinstance over an encrypted channel.
Option C: System-Wide Invisible Routing over SOCKS5
- Stack: OS Traffic
tun2socksSOCKS5 Tunnel (VPS) Upstream DNS (CoreDNS/ Public) - Why: If local applications bypass standard
resolv.confsettings,tun2sockscreates a virtual network interface (TUN) to capture all raw IP packets and send them down the VPS tunnel automatically.
Others more keywork to discovery, you can find out into this matrix
-
ALL-IN-ON TUNNEL / ROUTER DRIVERS: (sing-box / Xray-core) β Handles DNS, SOCKS5, Shadowsocks/VLESS, and TUN routing in a single binary.
-
SECURE ENCRYPTED DNS DAEMONS: DNSCrypt-Proxy / AdGuard Home β Built specifically for encrypted upstreams (DoH/DoT/DoQ/DNSCrypt) with adblocking.
-
SMART DNS / SNI PROXIES: sniproxy + BIND/dnsmasq β Routes ONLY domain-matching traffic through the VPS, letting heavy media stream directly.
| Tool | Category | Primary Function | Native Encryption (DoH/DoT/DoQ) | Layer 3 TUN Routing | Memory / CPU Overhead | Key Advantage |
|---|---|---|---|---|---|---|
sing-box | Universal Proxy Engine | All-in-one routing framework | Native & Advanced | Yes (Built-in TUN driver) | Very Low (Go-based) | Replaces tun2socks + dnsproxy + v2ray with a single, highly performant engine. |
AdGuard Home | DNS Server & Ad-Blocker | Network-wide filtering & secure resolver | Native (DoH, DoT, DoQ, DNSCrypt) | β No | Low (Web UI included) | Best for user-friendly UI, rule-based upstream routing, and built-in privacy protection. |
DNSCrypt-Proxy | Secure DNS Client | Encrypted DNS tunnel daemon | Native (DNSCrypt v2 & DoH) | β No | Extremely Low | High resistance against DNS censorship, tampering, and deep packet inspection (DPI). |
sniproxy | Layer 7 SNI Proxy | Proxies HTTP/HTTPS based on TLS SNI | N/A (Operates at TCP SNI layer) | β No | Very Low (C-based) | Used alongside DNS to build custom Smart DNS setups (rerouting only geo-blocked targets). |
Xray-core | Routing Platform | Advanced proxy & traffic classifier | Native (Supports arbitrary DNS over proxy) | Yes (via tproxy / TUN) | Low to Medium | Granular routing rules (e.g., route domestic DNS locally, send targeted domains to VPS). |