# twitchyliquid64/subnet

Simple, auditable & elegant VPN, built with TLS mutual authentication and TUN.

Repository: https://github.com/twitchyliquid64/subnet
Canonical: https://ross.abutalabs.com/products/subnet
Language: Go
License: MIT
License Family: permissive
Topics: vpn, vpn-server, vpn-client, tunnel, tun, tls, golang
Archived: true
Last push: 2020-03-08T17:37:06+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3489, "days_push": 2369, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1057, forks 69 (observed 2026-08-28T04:03:24.846111+00:00)

## What it is
Subnet is a simple, auditable VPN server and client written in Go, using TLS mutual authentication and TUN interfaces to route traffic. It supports traditional full-tunnel VPN setups and exposing remote LANs, though the author recommends WireGuard for real deployments.

## Use cases
- set up a simple self-hosted vpn server
- tunnel all non-lan traffic through another machine
- route traffic through a remote box with nat
- make a remote lan accessible from my machine
- vpn with tls mutual certificate authentication
- lightweight go vpn client and server

## When to choose
- you want a small, readable, auditable VPN codebase in Go
- you need certificate-based mutual TLS authentication for VPN clients
- you want to expose a remote LAN to your machine
- throughput needs are modest (under ~100Mbps)

## When to avoid
- you need high performance or production-grade security - use WireGuard instead
- you need Windows client support
- you want an actively developed project with recent releases

## Facets
- artifact type: application
- maturity: maintenance
- function: vpn, networking, security, cryptography, cli
- domain: networking, security, privacy, self-hosted
- platform: go, cli
- tags: tun, tls-mutual-auth, wireguard-alternative, tunneling, command-line, linux, macos

## Member repositories
- twitchyliquid64/subnet (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:24.846111+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:58:02.205746+00:00, confidence not recorded.
  - readme: https://github.com/twitchyliquid64/subnet (fetched 2026-08-28T04:03:24.846111+00:00, sha 99efa5c10ee9)
- Data as of 2026-08-30T08:39:29.467469+00:00.
