General

Awesome Repositories

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

BGP

DNS

Network in Linux

Network Protocol

VxLAN

Network Tools & OpenSources

Routing

  • gobgp: BGP implemented in the Go Programming Language
  • frr: The FRRouting Protocol Suite

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 crontab for more efficiency)

NFS

  • nfs-ganesha: an NFSv3,v4,v4.1 fileserver that runs in user mode on most UNIX/Linux systems 🌟 (Recommended)

Network Calculator

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 openvpn for your host 🌟 (Recommended)
  • wireguard-install.sh: Setting up wireguardvpn for 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 / MetricNetBirdPritunl (WireGuard/OpenVPN)Headscale + Tailscale ClientDefined Net / Nebula
Data-Path LatencyLowest (Direct P2P WireGuard)Medium to High (Routed through Gateway)Lowest (Direct P2P WireGuard)Lowest (Direct P2P Noise/UDP)
Control-Plane ModelFully Open Source (BSD-3/AGPLv3)Open Core (Proprietary enterprise features)Open Source (Community engine for Tailscale)Fully Open Source (Apache 2.0)
NAT Traversal MechanismICE / WebSockets / Custom STUN & TURNTraditional Port Forwarding / Static IPsSTUN / DERP RelaysLighthouse nodes / UDP hole punching
Site-to-Site GatewayNative Routing NodesTraditional Central VPN ServerSubnet RoutersRelies on Overlay IPs per host
ACL / Policy ModelCentralized UI / API Group-based ZTNAOrganization & Route-based ACLsYAML Policy / JSON ACLsHost-level PKI certificates
Key ManagementAutomated via Signal ServerAutomated via Pritunl ServerAutomated via Headscale ServerManual / Automated PKI CA setup
DimensionNative NetBird GatewayVXLAN / EVPN over NetBird (VyOS)
Encapsulation OverheadLowest (Outer IP + UDP + WireGuard)Higher (Outer IP + UDP + WireGuard + VXLAN Header)
Layer AdjacencyLayer 3 Only (IP Routing between subnets)Layer 2 or Layer 3 (Stretched VLANs & L3VPN)
Control PlaneNetBird 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-TenancyGroups/ACLs in NetBird UIVRF & VNI Isolation (True enterprise multi-tenancy)
Setup ComplexityVery Low (Docker Compose + simple UI)High (Requires VyOS, BGP/EVPN knowledge, and container management)

DNS with Networking Solutions

  1. DNS Resolvers / Proxies (Layer 7 DNS): dnsproxy, CoreDNS, Unbound
  2. Reverse Tunnels / NAT Traversal (Layer 4 TCP/UDP Port Forwarders): rathole, frp
  3. Transparent IP-Level Tunnels (Layer 3 Network Tun): tun2socks
ToolCategoryPrimary FunctionEncrypted Upstream Support (DoH/DoT/DoQ)NAT Traversal / Remote ExposeLayer 3 Routing (System-wide traffic)Complexity & OverheadBest Use Case
dnsproxyDNS ProxyHigh-performance DNS proxy & DoH/DoT listenerNative & Excellent (DoH, DoT, DoQ, DNS-over-HTTPS/3)❌ No❌ NoVery Low (Single binary, lightweight Go engine)Forwarding local client DNS to remote VPS secure endpoints with ultra-low latency.
CoreDNSDNS Resolver / ServerExtensible plugin-based DNS middleware engineHigh (via plugins like forward or tls)❌ No❌ NoMedium (Requires Corefile syntax knowledge)Complex DNS rewriting, split-horizon routing, or enterprise Kubernetes integration.
UnboundRecursive DNS ResolverAuthoritative/Recursive root server queryingModerate (Primarily DoT upstream & DNSSEC)❌ No❌ NoMedium to High (Requires tuning C/cache settings)Maximum privacy by resolving directly to root nameservers without upstream ISP dependencies.
ratholeLayer 4 Reverse ProxyHigh-performance Rust-based port forwarderN/A (Exposes raw TCP/UDP port data)Native & Optimized❌ NoLow (Simple client/server configuration)Tunnelling UDP (port 53) or TCP (DoT) traffic through NAT/firewalls from VPS to home server.
frpLayer 4/7 Reverse ProxyFeature-rich reverse proxy / NAT traversalN/A (Proxies raw protocols)Native & Feature-Rich (includes Web Dashboard)❌ NoMedium (Higher memory overhead than rathole)Exposing internal DNS endpoints behind deep NATs with a web UI management interface.
tun2socksLayer 3 TUN DeviceTranslates system TUN interface traffic to SOCKS5/HTTP proxyN/A (Operates on raw IP packet level)❌ No (Requires external proxy gateway)Native & CompleteMedium (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 / WireGuard dnsproxy or CoreDNS (VPS)
  • Why: dnsproxy uses 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) rathole client rathole server (VPS Public IP)
  • Why: rathole provides lightweight, memory-safe Rust-based NAT traversal. The public VPS receives DNS queries on port 53 and tunnels them directly to your home Unbound instance over an encrypted channel.

Option C: System-Wide Invisible Routing over SOCKS5

  • Stack: OS Traffic tun2socks SOCKS5 Tunnel (VPS) Upstream DNS (CoreDNS / Public)
  • Why: If local applications bypass standard resolv.conf settings, tun2socks creates 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

  1. ALL-IN-ON TUNNEL / ROUTER DRIVERS: (sing-box / Xray-core) β†’ Handles DNS, SOCKS5, Shadowsocks/VLESS, and TUN routing in a single binary.

  2. SECURE ENCRYPTED DNS DAEMONS: DNSCrypt-Proxy / AdGuard Home β†’ Built specifically for encrypted upstreams (DoH/DoT/DoQ/DNSCrypt) with adblocking.

  3. SMART DNS / SNI PROXIES: sniproxy + BIND/dnsmasq β†’ Routes ONLY domain-matching traffic through the VPS, letting heavy media stream directly.

ToolCategoryPrimary FunctionNative Encryption (DoH/DoT/DoQ)Layer 3 TUN RoutingMemory / CPU OverheadKey Advantage
sing-boxUniversal Proxy EngineAll-in-one routing frameworkNative & AdvancedYes (Built-in TUN driver)Very Low (Go-based)Replaces tun2socks + dnsproxy + v2ray with a single, highly performant engine.
AdGuard HomeDNS Server & Ad-BlockerNetwork-wide filtering & secure resolverNative (DoH, DoT, DoQ, DNSCrypt)❌ NoLow (Web UI included)Best for user-friendly UI, rule-based upstream routing, and built-in privacy protection.
DNSCrypt-ProxySecure DNS ClientEncrypted DNS tunnel daemonNative (DNSCrypt v2 & DoH)❌ NoExtremely LowHigh resistance against DNS censorship, tampering, and deep packet inspection (DPI).
sniproxyLayer 7 SNI ProxyProxies HTTP/HTTPS based on TLS SNIN/A (Operates at TCP SNI layer)❌ NoVery Low (C-based)Used alongside DNS to build custom Smart DNS setups (rerouting only geo-blocked targets).
Xray-coreRouting PlatformAdvanced proxy & traffic classifierNative (Supports arbitrary DNS over proxy)Yes (via tproxy / TUN)Low to MediumGranular routing rules (e.g., route domestic DNS locally, send targeted domains to VPS).