Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
A

awl

> 数据库
Open source

Securely connect your devices into a private network. Mesh VPN, socks5 proxy server/client

639 stars0 likes2 views
WebsiteGitHub

About

Securely connect your devices into a private network. Mesh VPN, socks5 proxy server/client

Table of contents

  • About
    • Why Anywherelan
    • Features
    • Screenshots
    • How it works
    • Security
    • Reproducible builds
  • Installation
    • The web UI
    • Android
    • Windows (awl-tray)
    • macOS
    • Linux desktop (awl-tray)
    • Linux server (awl)
  • Connecting devices
  • Using devices as SOCKS5 proxy
  • VPN gateway (full-tunnel exit node)
  • Configuration
    • Config file location
    • Example config
  • Monitoring
  • Terminal-based client
    • Common examples
  • Upgrading
  • Platform notes & known limitations
  • Contributing
  • License

About

Anywherelan (awl for brevity) is a peer-to-peer mesh VPN for connecting your own devices to each other, at the IP level, from wherever they are. A laptop behind a NAT, a home server, an old phone — give each one a stable .awl address and they can reach each other as if they were on the same LAN.

awl is fully decentralized: no coordination server, no account, no control plane — nothing to pay for, nothing to sign up for, nothing that can be shut down from the outside. Everything awl needs is in this repository, under an open-source license.

awl is aimed at personal use: selfhosters, groups of friends, small device fleets (roughly ~10s). It is not a replacement for commercial mesh VPNs in a team setting — there are no ACLs, tags, SSO, or admin dashboards.

Some things people use it for:

  • SSH / RDP / VNC into your home or work laptop from anywhere, without port forwarding or exposing anything to the internet
  • reach selfhosted services (Nextcloud, Home Assistant, Bitwarden, ...) privately
  • route traffic through a remote device as a SOCKS5 proxy — useful for bypassing regional blocks
  • route all your traffic through a remote device at the IP layer — a full-tunnel VPN gateway / exit node
  • LAN-style multiplayer gaming across the internet
  • keep an old Android phone accessible for apps that only run there (e.g. with scrcpy)

Why Anywherelan

Tailscale, Netbird and ZeroTier are excellent products, especially for teams. awl is a different shape:

  • Fully peer-to-peer. There is no coordination server to trust, fund, or depend on. Peers find each other via libp2p's DHT and connect directly; encrypted traffic only flows through third parties (community relays) when both sides are behind restrictive NATs and no direct path is possible.
  • Fully open source. Every part of the stack — clients, bootstrap nodes, relays — is open. There is no closed-source control plane quietly running the show.
  • Harder to block. There is no single endpoint an ISP or government can blackhole. DHT discovery plus libp2p's transport negotiation makes awl more survivable on restrictive networks than VPNs that depend on a central coordination server.

Tradeoffs worth knowing about:

  • No centralized policy management (no ACLs, no device tags, no SSO).
  • Smaller feature set than commercial alternatives. Bigger features are in flight; for now, awl is best at the thing it already does well — getting your devices talking to each other.

Features

  • fully peer-to-peer, no coordination server — see Why Anywherelan above
  • route all your traffic through a device — full-tunnel VPN gateway / exit node
  • route traffic through a device as a SOCKS5 proxy
  • automatic NAT traversal via libp2p; falls back to community relays when a direct path isn't possible
  • TLS 1.3 encryption (QUIC or TCP+TLS)
  • built-in DNS: reach devices at work-laptop.awl instead of typing IPs
  • Windows, Linux, macOS, Android

:camera: Screenshots

How it works

awl combines two things: a virtual network interface (TUN on Linux/macOS/Android, wintun on Windows) and a peer-to-peer networking stack built on libp2p. IP packets sent into the awl interface are wrapped into libp2p streams and delivered directly to the addressed peer.

  • Transport: QUIC (with native TLS 1.3) or TCP+TLS, negotiated per-connection.
  • Discovery: on startup, awl announces itself in the libp2p DHT via community bootstrap nodes. To reach a peer, awl looks it up in the DHT and opens a connection directly.
  • NAT traversal and relays: libp2p handles hole-punching for most NATs; when both peers are behind restrictive NAT, traffic is forwarded through a libp2p circuit relay. Relays only see encrypted bytes. For details on the mechanics, see libp2p's NAT docs.

Security

awl's transport security comes from libp2p.

  • Encryption: all peer traffic is TLS 1.3, via either QUIC (which uses TLS natively) or TCP+TLS. Bootstrap nodes and relays see only ciphertext.
  • Identity: each peer has an ed25519 keypair; the peer_id is the public key, so identity and authentication aren't separate layers. There is no CA, no certificate to revoke.
  • Trust model: peers must add each other explicitly. You exchange peer_ids out-of-band (copy/paste, QR, messenger, whatever works), one side invites, the other accepts. No trust-on-first-use; unknown peers can't connect to you.
  • Key compromise: there is no revocation mechanism. If an identity key leaks, generate a new one and re-add peers.
  • Metadata: nodes participating in the DHT can observe which peer IDs are online and being looked up. Packet contents are end-to-end encrypted and not visible to them.

Reproducible builds

awl's release binaries are built reproducibly on every platform. Builds run in public GitHub Actions from tagged source (see the build workflow and build.sh), using -trimpath and -buildid= with pinned dependencies, so the same source produces byte-identical output.

  • Android: the app is independently reproducible-verified: F-Droid rebuilds the application from source and verifies that the resulting APK matches the APK published in the GitHub Releases. See its reproducibility status.
  • Desktop: every GitHub release includes SHA-256 checksums for its archives. You can independently reproduce a release yourself by building the same tag according to BUILDING.md and verifying that the checksums match.

Installation

awl ships in two desktop flavors:

  • awl-tray — desktop build with a system-tray indicator: status at a glance, start/stop/restart, peer list, and quick exit-node selection (SOCKS5 proxy / VPN gateway). Use this for regular desktop usage.
  • awl — headless server build, no GUI. Use this for servers and embedded devices.

Both share the same web UI and the same CLI.

Grab the archive for your platform/arch from the releases page and extract it wherever you like.

The web UI

Once awl is running, open http://admin.awl in a browser. admin.awl is a magic local domain that awl's built-in DNS resolves to the local web UI (default http://127.0.0.1:8639). On awl-tray you can also right-click the tray icon → Open Web UI.

Android

Get it from F-Droid, or download the APK directly from the GitHub releases page, both are the same app.

Windows (awl-tray)

Unpack the zip and run the binary as administrator (right-click → Run as administrator). Admin rights are required to create the virtual network interface.

Some antivirus engines flag awl as a false positive; if that happens you'll need to allowlist it manually.

macOS

Unpack the zip, right-click awl-tray, choose Open. You'll see an "unidentified developer" warning (the binary isn't signed — signing costs money); click Open to run it anyway. awl will then prompt for admin rights, which are needed to create the virtual network interface.

Linux desktop (awl-tray)

For working notifications and modal dialogs, make sure zenity is installed:

bash
sudo apt install -y zenity

Then run the binary like any other app. It will prompt for root (needed for /dev/tun and the virtual network interface) and automatically create a desktop entry, so next time you can launch awl from the applications menu.

Linux server (awl)

To install as a systemd service — binary and config in /etc/anywherelan/, autostart on boot — run:

bash
curl -sL https://raw.githubusercontent.com/anywherelan/awl/master/install.sh | sudo bash

Then:

bash
awl cli me status                          # server status
awl cli me rename --name your-name-here    # set a name
awl cli me id                              # print your peer id
awl cli -h                                 # full help
systemctl status awl.service               # systemd status

See Terminal-based client for more.

Connecting devices

To connect two devices you exchange their peer_ids. A peer_id is the device's permanent identifier (and public key — see Security). One peer sends a friend invitation, the other accepts or blocks it. After acceptance, both can reach each other by VPN IP or by .awl domain.

For testing, there is a public peer that auto-accepts invitations, so you don't need a second device to try awl out.

Desktop / Android

Open the web UI at http://admin.awl (or the Android app). On the Status / Overview page, click the QR icon next to your device name to show your own peer_id. To invite someone, click Add peer (on Android, the + floating button on the Peers tab).

To try the public tester: enter 12D3KooWJMUjt9b5T1umzgzjLv5yG2ViuuF4qjmN65tsRXZGS1p8 as peer id, name it awl-tester, save. After a few seconds it will appear in your peer list. Open http://awl-tester.awl/ — you should see a network speed-test page.

When someone invites you, a notification will appear; accept or block in the admin UI.

Server

bash
# print your peer_id
awl cli me id
# print server status
awl cli me status
# print all incoming friend requests
awl cli peers requests
# invite peer or accept incoming request
awl cli peers add --pid 12D3KooWJMUjt9b5T1umzgzjLv5yG2ViuuF4qjmN65tsRXZGS1p8 --name awl-tester
# print all known peers
awl cli peers status

# try to access new peer
ping 10.66.0.2
# or by domain name
ping awl-tester.awl

Using devices as SOCKS5 proxy

Once you have at least one connected device, you can route your outbound traffic through it. Any device can act as a SOCKS5 exit node (Android included) as long as they allow it.

To let a peer use your device as an exit node (desktop web UI): open http://admin.awl, select the peer, press Settings, tick Allow as exit node, save.

Via the CLI:

bash
# list connected peers and their EXIT NODE status (whether they allow you, or you allow them)
awl cli peers status

# let `peer-name` use this device as a SOCKS5 exit node
awl cli peers allow_exit_node --name="peer-name" --allow=true

# list exit nodes available to you
awl cli me list_proxies

# route local SOCKS5 traffic through a peer (default listener: 127.0.0.66:8080, no auth)
awl cli me set_proxy --name="peer-name"

On desktop you can also pick the active exit node from the web UI or the system tray menu.

Traffic through a peer has no

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Gocross-platformdecentralizedgolanghacktoberfest

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category数据库
PricingOpen source

> Related tools

P
PostgreSQL
功能强大的开源关系型数据库
R
Redis
内存数据结构存储,常用作缓存与队列
M
MySQL
广泛使用的开源关系型数据库