Route all traffic from a laptop or server through an encrypted QUIC tunnel to another machine.
Set up a private point-to-point VPN between a client and a server you control.
Give a group of devices a shared private IP range routed through one exit server.
| veshutov/tuic | codeaashu/agents-are-thinking | forgeailab/forge | |
|---|---|---|---|
| Stars | 15 | 15 | 15 |
| Language | Rust | Rust | Rust |
| Setup difficulty | — | easy | moderate |
| Complexity | — | 2/5 | 3/5 |
| Audience | developer | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
tuic is a simple VPN tool written in Rust. Its full name describes its design: TUN-QUIC-TUN, meaning it uses a virtual network interface (called a TUN device) on both the client and server, connected through the QUIC protocol, which is the same fast, encrypted transport technology behind modern HTTP. On the client side, tuic connects to a server over QUIC, sends its credentials to prove it is allowed to connect, and receives an IP address back from the server. It then creates a local TUN interface using that IP address and sets up routing rules so that all of the device's traffic flows through this tunnel, except for the traffic going to the VPN server itself. On Mac OS, this route setup happens automatically, other systems need it configured through the config file. On the server side, tuic creates its own TUN interface covering a range of IP addresses, such as 10.0.0.0/24, and sets up network address translation so traffic from connected clients can reach the wider internet through the server's main network connection. This part is automatic on Linux. The server listens for incoming QUIC connections, checks each client's credentials, hands out an IP address from its pool, and forwards traffic between the client and the internet. For security, the server can generate its own self-signed TLS certificate when it starts, or use a certificate provided in the configuration. Clients can either load that same certificate directly or trust it through their operating system's built in certificate store. Setting up either the client or server requires sudo access, since creating a TUN device needs elevated system permissions. Configuration is done through a file, normally named tuic.toml, with example client and server configs included in the project. The project provides no other documentation beyond what is described here.
tuic is a Rust VPN tool that tunnels all your device traffic through an encrypted QUIC connection using virtual network interfaces on both ends.
Mainly Rust. The stack also includes Rust, QUIC, TLS.
Mainly developer.
This repo across BitVibe Labs
double-check against the repo, no cap.