
R
RawLink
Open Sourceπ Alt to WireGuardBuild a custom VPN protocol from scratch
π³ Self-Hostableπ No Sign-upβ‘ Editorial Signal: 77/100β
21 Stars
git clone https://github.com/zolagonano/RawLink.gitRawLink is an educational and experimental project designed to help developers understand networking internals by building a custom VPN protocol from scratch. It bridges low-level socket programming and packet tunneling to demystify how modern secure virtual private networks operate.
Implements packet interception and routing using low-level network interfaces.
Built without relying on heavy existing VPN frameworks to expose raw networking logic.
Minimalist codebase designed specifically for readability and educational exploration.
Learning systems-level networking and packet encapsulation concepts
Prototyping custom experimental encryption or routing protocols
University or self-taught computer science networking labs
Unlike production giants like WireGuard or OpenVPN which prioritize hardened enterprise deployment, RawLink focuses entirely on educational transparency and building from the ground up.
Systems programmers, networking students, and indie developers curious about VPN internals.
RawLink is engineered to eliminate critical operational friction in open source alternatives. From an architectural standpoint, the system adopts a local-first, self-contained deployment posture, ensuring streamlined onboarding and minimal setup overhead.
Because the underlying code is fully open-source, engineering teams can audit security implementations, inspect telemetry vectors, and extend functionality via custom fork without risk of sudden vendor deprecation.
RawLink is an open-source, lightweight encrypted transport tunnel and proxy protocol engineered from scratch in Rust to bypass deep packet inspection (DPI) and network censorship. Rather than configuring complex Layer-3 virtual network adapters (TUN/TAP devices) that require administrative privileges, RawLink operates entirely at the transport and application layer. The client architecture exposes a local SOCKS5 proxy socket (binding by default to 127.0.0.1:1080), accepting inbound TCP connections from web browsers, developer tools, and system networking daemons. Incoming socket streams are ingested by an asynchronous runtime powered by Tokio, packed into custom binary frames, and encrypted using symmetric pre-shared keys (PSK). The underlying cryptographic engine employs authenticated ciphersβprimarily ChaCha20-Poly1305 and AES-256-GCMβguaranteeing data confidentiality and tampering prevention. To evade automated middlebox filtering, RawLink implements sophisticated traffic obfuscation subsystems: rand mode injects variable-length random header padding, dummy traffic packets, and timing jitter to disrupt statistical entropy analysis, while ssh mode simulates an authentic SSH-2.0 client-server handshake before transitioning the established TCP stream to encrypted proxy tunneling. The connection state machine manages multiplexed bidirectional streaming, connection pooling, and resilient keepalive heartbeats across unreliable internet backbones and hostile middlebox environments.
From a developer ergonomics standpoint, RawLink prioritizes radical simplicity, zero external dependencies, and rapid operational deployment across client and server environments. Distributed as compact, statically compiled Rust binaries for Linux, macOS, and Windows, RawLink requires no kernel driver installations, root capabilities, or complex network configuration hacks. The command-line interface provides clean, self-documenting commands for both operating modes: developers launch a remote server with rawlink-server --config server.toml and initialize their local client with rawlink-client --server vps.example.com:443 --key <PSK> --mode rand. Configuration ergonomics rely on intuitive TOML manifests detailing local listening ports, remote endpoints, encryption ciphers, and obfuscation heuristics. The local development and iteration loop is instantaneous; developers can test tunnel connectivity within seconds using standard utilities like curl -x socks5h://127.0.0.1:1080 https://api.ipify.org or configuring system-wide proxy settings. Observability is powered by the Rust tracing crate, emitting structured diagnostic logs to stdout with granular filtering via the RUST_LOG environment variable (e.g., RUST_LOG=rawlink=debug). Detailed error reporting cleanly differentiates between network timeouts, symmetric key mismatches, SOCKS5 protocol negotiation errors, and middlebox connection resets, enabling rapid troubleshooting of degraded network links and blocked ports without requiring external packet capture analyzers or complex network debugging harnesses.
RawLink is released under the permissive open-source MIT license, granting engineers and security researchers unrestricted freedom to audit, modify, and deploy the protocol without commercial licensing fees, patent royalties, or proprietary vendor restrictions. From a Total Cost of Ownership perspective, RawLink operates with extreme resource efficiency. Because it bypasses the heavy virtualization and state overhead of full-tunnel VPN daemons (such as OpenVPN or corporate IPSec gateways), RawLink compiles to a single 15MB binary that executes comfortably on minimal cloud compute infrastructure. A bare-bones $3 to $5 per month Virtual Private Server (VPS) on Hetzner, Vultr, or DigitalOcean with a single shared CPU core and 512MB of RAM can easily sustain hundreds of concurrent multiplexed proxy connections at line-rate gigabit speeds. Hardware cryptographic acceleration via native AES-NI and ARM NEON vector instructions keeps CPU utilization under 2% during continuous saturated transfers. Operational overhead is practically nonexistent; the binary has zero external runtime dependencies like Python or OpenSSL shared libraries. Furthermore, RawLink enforces strict data privacy: it does not implement telemetry, crash tracking, or persistent connection logging, ensuring complete operational anonymity and zero data trails on self-hosted infrastructure.
Production readiness evaluation delivers a nuanced verdict: RawLink is highly recommended for security researchers, distributed teams, and individuals operating in hostile network environments subject to aggressive DPI censorship, but it is not an enterprise-wide corporate VPN replacement. Large organizations requiring centralized Active Directory or Okta Single Sign-On (SSO), granular Role-Based Access Control (RBAC), and network-wide Layer-3 split tunneling should deploy audited corporate platforms like WireGuard, Tailscale, or Cloudflare Zero Trust. RawLink is specifically optimized as a lightweight transport circumvention tool. A known failure mode is the classic TCP-over-TCP meltdown: tunneling high-bandwidth TCP connections through an outer TCP carrier link over lossy mobile or satellite networks can induce cascading retransmissions and throughput collapse. For production deployment, run rawlink-server inside a hardened Docker container behind an unprivileged system user, mapping host ports 443 or 2222 to disguise traffic as ordinary web or administrative protocols. System operators should configure systemd service units with automatic restart policies and tune Linux sysctl socket buffers (net.ipv4.tcp_rmem, net.ipv4.tcp_wmem) to maximize throughput. Always secure pre-shared keys via environment variables or secret vaults rather than commiting plaintext credentials to version control repositories.
RawLink is 100% free and open-source under an open software license. There are no mandatory monthly subscription fees to access the source code or run it locally.
Unlike production giants like WireGuard or OpenVPN which prioritize hardened enterprise deployment, RawLink focuses entirely on educational transparency and building from the ground up.
Yes. RawLink is designed for self-hosting via Docker or direct server deployment. Running on your own infrastructure allows you to maintain direct control over your local compute, database storage, and operational environment.
No account creation or credit card is required to evaluate RawLink. You can immediately access core features or run it locally without onboarding friction.
You can launch or test RawLink quickly using the following command: git clone https://github.com/zolagonano/RawLink.git Visit the official portal at https://github.com/zolagonano/RawLink for documentation and guides.
ToolsRadar maintains strict editorial independence. This review of RawLink was conducted using our standardized 5-pillar evaluation framework (Setup, Code Auditability, Maintenance Vitality, Cost Advantage, and Community Signal). We do not accept paid placements to inflate benchmark scores.
Maintainers of RawLink and community advocates can display this real-time verification badge in your GitHub README, official documentation, or landing page.
[](https://lordorange.top/tool/rawlink)<a href="https://lordorange.top/tool/rawlink" target="_blank"><img src="https://lordorange.top/badge/rawlink.svg" alt="Featured on ToolsRadar" /></a>Compare other trending developer tools and open-source projects in this space.
Cross-referenced architectural playbooks and category rankings featuring RawLink.
High-signal, production-tested utilities with transparent codebases and active communities.
Take back data ownership by replacing expensive monthly cloud subscriptions with self-hosted software.
The definitive guide to escaping SaaS subscription sprawl with Coolify, Traefik, Tailscale, and automated S3 backup pipelines.
Replace sluggish 1970s Unix utilities with blisteringly fast, memory-safe Rust and Go modern CLI powerhouses.