open source · flexaccessdev

Reach private networks through a server with no open port.

Tunneling and VPN utilities built on iroh. Clients dial the server by a stable cryptographic identity, so it needs no public IP, no inbound port, and no port forwarding — NAT traversal, relay fallback, and per-client keys are built in.

Available on
  • CLI
  • Linux
  • macOS
  • Windows
  • iOS
  • Android
A client behind NAT reaches a server with no open port: the relay carries signalling and encrypted fallback traffic, and a hole-punched direct path carries the rest.relaysignalling · encrypted fallbackNAT / firewalldirect · hole-punchedQUIC · TLS 1.3your devicebehind NATyour serverno public IPno open port
  • No inbound ports

    The server needs no public IP, no open port, and no port forwarding. Clients dial a stable endpoint ID — itself an Ed25519 public key — instead of an address.

  • NAT traversal built in

    The tools try to establish a direct path through NAT and CGNAT. A relay carries encrypted traffic when a direct path is unavailable. A connection can switch to direct when a path opens up.

  • End-to-end encrypted

    Traffic rides QUIC with TLS 1.3 from client to server. Relays that forward it see only ciphertext and connection metadata — never plaintext.

  • Key-authenticated

    The server checks each regular client's Ed25519 public key against its authorized-keys file. In flextunnel's quick mode, peers authenticate using the endpoint IDs they exchange.

The tools

Two tools, one transport: same dial-by-identity connection, same key format, same relays. ezvpn routes IP packets for whole subnets; flextunnel proxies TCP connections without root. Many jobs suit either, and they run side by side.

ezvpn

The easy-setup VPN for reaching private networks.

  • IP layer
  • CLI needs superuser

Full IP routing to a private network — whole subnets, any protocol — with dynamic client addressing, per-client Ed25519 keys instead of certificates or PKI, and no inbound port to open or forward.

Works well when
  • You want a whole subnet reachable — a home or office LAN, or a private cloud subnet — with ezvpn on one gateway and nothing on the other devices
  • You want one machine behind a dynamic IP, NAT, or CGNAT reachable at the server's VPN address
  • You can run the CLI as root / Administrator
  • You'd rather have a native VPN app on your Mac, iPhone, Android phone, or Windows PC

flextunnel

The rootless split tunnel for private TCP services.

  • proxy layer
  • no root

Reach private TCP services through local SOCKS5 / HTTP proxies or forwarded ports. One client can reach multiple servers on demand, with server-side DNS and a zero-config --quick mode for one-off sessions.

Works well when
  • You need specific TCP services only reachable from the server's network — web UIs, SSH, RDP, databases
  • You can run a user-space app on the machine you're sitting at, but can't get root or admin
  • You want it next to a corporate or personal VPN — it isn't one, so there's nothing to switch off
  • You want a five-minute throwaway tunnel to a machine you can access, using --quick

How they compare

Both reach private services through a server with no open port. They differ in how traffic gets there, and in what that asks of the device.

BothReach web UIs, SSH, RDP, and databases behind NAT or CGNAT — from a laptop or a phone, with no inbound port on the server
AccessReal IP routing — whole subnets, any protocolTCP access to specific services — web UIs, SSH, databases
PrivilegesCLI and Windows app require root or Administrator privilegesRuns with ordinary user privileges
How apps connectTransparently, through the system routing tableThrough a local SOCKS5 / HTTP proxy or a forwarded port
AuthenticationPer-client Ed25519 key (flexaccess-keys)Per-client Ed25519 key (flexaccess-keys), or exchanged endpoint IDs in --quick mode
Desktop appsmacOS app as a signed .dmg, Windows app as an unsigned .msi — plus the CLImacOS / Windows tray app as unsigned .dmg / .msi — plus the CLI
PhonesiOS app, built from source under your own team. Android app with split DNS and always-on VPN as an unsigned .apk.iOS alpha with browser and port forwards, no VPN profile. Sign the unsigned .ipa with your Apple Developer team. Android alpha with a SOCKS5 proxy and port forwards as an unsigned .apk.
Next to another VPNIt is a VPN — on iOS and Android, only one can be active at a timeIt isn't a VPN, so there's nothing to switch off
Not forClient-to-client meshes, site-to-site links, anonymityUDP, or apps that can't use a proxy or a forwarded port
Togetherflextunnel isn't a VPN, so it can run next to ezvpn on the same computer

Shared keys: flexaccess-keys

One key format for every FlexAccess tool. Both tools authenticate clients with the same app-independent Ed25519 key format: a private key file you keep on the client, and one ed25519-pub: line per client in an ssh-style authorized-keys file on the server. flexaccess-keys is the small CLI that generates and inspects those keys — install it once and use it for ezvpn and flextunnel alike. The GUI apps generate the same keys in-app, so a phone or a Mac needs no CLI at all.

Linux / macOS
curl -sSL https://flexaccessdev.github.io/flexaccess-keys/install.sh | bash
Windows (PowerShell)
irm https://flexaccessdev.github.io/flexaccess-keys/install.ps1 | iex
flexaccess-keys on GitHub
generate · show · authorize
# on each client: generate a keypair, then print its public entry
flexaccess-keys generate-auth-key "alice laptop" -o client.key
flexaccess-keys show-auth-key --private-key-file client.key
#   → ed25519-pub:… alice laptop

# on the server: authorized_keys, one client per line
ed25519-pub:<public key> alice laptop
ed25519-pub:<public key> build server

Under the hood

One foundation, kept in its own repos. Both tools share a transport crate and key format. One custom relay is enough to replace public iroh relays and discovery services. Configure the same relay URLs on both ends. Failover requires two or more distinct relays.

  • transport crateflexaccess-iroh

    The shared crate implements relay configuration, reachability probes, endpoint creation, in-place server relay failover, and endpoint-bound authentication. Each tool picks up changes when it updates its dependency.

  • key formatflexaccess-keys

    The shared Ed25519 key format — generate-auth-key / show-auth-key on the CLI — used by both tools, with the same library embedded in their GUI apps.

  • design notesflexaccess-iroh/docs

    Design notes and operating guides for the transport layer, kept next to the crate that implements it: relays and address lookup, relay failover, NAT traversal by NAT type, and self-hosting your own relay.