Skip to content

v0.21.0 - Predictable VPN addresses, direct LAN connections, VPN fixes

Latest

Choose a tag to compare

@pymq pymq released this 21 Nov 15:02
· 4 commits to master since this release
86e51bd

What's Changed

This release adds VPN addresses based on device IDs and direct connections on the local network. It also makes the VPN use less CPU and reduces background data use on Android phones that used to answer peer discovery requests.

Notable changes

  • Device addresses. A new device derives its VPN IP from its ID. Your other devices can usually reach it at that same address.
  • Direct LAN connections. Devices on the same local network can connect directly, including Android devices. If the VPN tunnel is using a relay, it switches to the direct connection when one becomes available.
  • Faster connections. awl connects to the first known device up to 4 seconds sooner after startup. If a relay drops a connection, awl reconnects about a second sooner.
  • VPN improvements. VPN traffic uses up to 7% less CPU, and large UDP datagrams now reach the peer.
  • Default MTU. New installs use an MTU of 1400.
  • Grafana dashboards. The monitoring stack now has dashboards for awl traffic, connectivity, DHT activity, profiles and bootstrap nodes.
  • Thanks to @officialasishkumar for configurable MTU, @VoNguyenMinhTriet for the Linux startup fix, and @Martinligabue for fixing the docs links! ❤️

The full list of changes is in CHANGELOG.md.

Upgrade notes

  • VPN subnet. On upgrade, awl widens the old defaults 10.66.0.1/24 and 10.66.0.1/16 to the 10.64.0.0/11 subnet and keeps existing VPN addresses. If the new subnet overlaps another network you use, stop awl and choose a subnet in vpn.ipNet that avoids the overlap. Before restarting awl, remove ipAddr from peers whose addresses are outside the new subnet. See IPv4 subnet and addresses.
  • MTU. Older configs without vpn.mtu keep 3500 on upgrade. If you also have new installs using 1400, set vpn.mtu on either the older or newer installs so your devices and exit nodes use the same value. See MTU configuration.

Changelog:

  • new link for docs by @Martinligabue in #302
  • Add awl dashboards, new metrics for dropped packets and refused requests by @pymq in #308
  • fix(vpn): replace address instead of adding for Linux newTUN by @VoNguyenMinhTriet in #309
  • vpn: use less CPU per packet, fix fragmented datagrams by @pymq in #311
  • all: update Go 1.26.8 --> 1.27.3, update dependencies, update ts-dns by @pymq in #312
  • p2p: connect directly over the LAN, announce LAN addresses on Android by @pymq in #313
  • vpn: add vpn.mtu config option to set the TUN interface MTU by @officialasishkumar in #315
  • vpn: derive IPv4 addresses from peer IDs, widen the awl subnet to /11 by @pymq in #317
  • linux: find iptables and DNS tools outside PATH on NixOS and Guix by @pymq in #321
  • Fix a panic when the API port is taken, fix run without root when the VPN interface is off, retry config writes by @pymq in #322
  • app: pass system search domains without split DNS, check DNS and SOCKS5 in e2e by @pymq in #323
  • vpn/netstate: fix docker ports on the exit node, leave ip_forward=1 by @pymq in #324
  • Connect to known peers sooner after start, fail fast SOCKS5 requests when the exit node is offline by @pymq in #325
  • Remove tunnel stream traffic limit, redial a peer behind a relay from one side by @pymq in #326
  • Set the MTU of new configs to 1400, add MSS clamping to the gateway server by @pymq in #327
  • p2p: disable DHT server mode on Android to reduce traffic usage by @pymq in #332
  • docs: update CHANGELOG and README for v0.21.0 release by @pymq in #333

New Contributors

Full Changelog: v0.20.0...v0.21.0
Milestone: v0.21.0

Installation

For instructions on how to install anywherelan see readme.

Android

awl-android-v0.21.0.apk

Desktop version (awl-tray)

Windows binary builds

awl-tray-windows-386-v0.21.0.zip
awl-tray-windows-amd64-v0.21.0.zip
awl-tray-windows-arm64-v0.21.0.zip

Windows 7 binary builds

awl-tray-windows7-386-v0.21.0.zip
awl-tray-windows7-amd64-v0.21.0.zip

macOS app

(arm64 — Apple Silicon, amd64 — Intel)

awl-tray-macos-amd64-v0.21.0.dmg
awl-tray-macos-arm64-v0.21.0.dmg

Linux binary builds

awl-tray-linux-386-v0.21.0.tar.gz
awl-tray-linux-amd64-v0.21.0.tar.gz
awl-tray-linux-arm-v0.21.0.tar.gz
awl-tray-linux-arm64-v0.21.0.tar.gz
awl-tray-linux-mips-v0.21.0.tar.gz
awl-tray-linux-mipsle-v0.21.0.tar.gz

Server version (awl)

Linux binary builds

awl-linux-386-v0.21.0.tar.gz
awl-linux-amd64-v0.21.0.tar.gz
awl-linux-arm-v0.21.0.tar.gz
awl-linux-arm64-v0.21.0.tar.gz
awl-linux-mips-v0.21.0.tar.gz
awl-linux-mipsle-v0.21.0.tar.gz

Windows binary builds

awl-windows-386-v0.21.0.zip
awl-windows-amd64-v0.21.0.zip
awl-windows-arm64-v0.21.0.zip

Windows 7 binary builds

awl-windows7-386-v0.21.0.zip
awl-windows7-amd64-v0.21.0.zip

Checksums (SHA-256)

Verify a downloaded file with sha256sum -c (or shasum -a 256 -c). Anywherelan's builds are reproducible — see Reproducible builds.

69dc507a1d1a2d5f6bc906f7afe1ef2600fb1046be01f3bd0acc79479be92367  awl-android-v0.21.0.apk
c023ba05a466c5be9eefec73e83a248b6897b54d9230d54532a908b98276b60c  awl-linux-386-v0.21.0.tar.gz
be0b0043fc1b0dbf69b5fae9a1c994323aa85f2fe1a5c3a91112d8846e5d4275  awl-linux-amd64-v0.21.0.tar.gz
184d18a30df072bac5d3ee52b49364c9d1877685cd4ca29cb792625e5d67f42b  awl-linux-arm-v0.21.0.tar.gz
db527be1157f4b21097f0472e95d666bcb34f76975086cb105f738a9fd7fa8a9  awl-linux-arm64-v0.21.0.tar.gz
4129d109e43e603457680fc20d80551305131ad205ee1ea940c3e8ae8ee4a362  awl-linux-mips-v0.21.0.tar.gz
c1b1a316bc5740653cc08dd94f3bef24a4a8a2c083353ede0b52a01680448374  awl-linux-mipsle-v0.21.0.tar.gz
92cbc680de48628d60d541798508114b6119a1a80782688758bfc51fd29cbb3b  awl-tray-linux-386-v0.21.0.tar.gz
f973eace84e6e74ec11f67d19802e9b78b917f4c7ec7d210264efe0eb379cfc3  awl-tray-linux-amd64-v0.21.0.tar.gz
f1a735ec28c8c1b18e69211999cf8d81308d16523326f25a37d6fe50b1897097  awl-tray-linux-arm-v0.21.0.tar.gz
fa68a55b98f485a9568a7faecd01fad9bfb86567f67402d910cf189ed0e49207  awl-tray-linux-arm64-v0.21.0.tar.gz
bd0d74f9ce995fd3d9e3a835ad2c9ada196db8c6105bbae7b74eafc39555d2d9  awl-tray-linux-mips-v0.21.0.tar.gz
f2b85678491f88df315a52b80b6c56062e53329845df1ea3e33b4ccbdfebe878  awl-tray-linux-mipsle-v0.21.0.tar.gz
15d5eab36a79b06564290e6131d3f683f020959e85e6e823a8fba66ab7fe1461  awl-tray-macos-amd64-v0.21.0.dmg
06c432b48a42fd8907fa5f6dc1f35c18a636c49df8185d68de8def442edb6a49  awl-tray-macos-arm64-v0.21.0.dmg
ad64ad9ad2b7a049ad52da296f35ae3ae0b0a5c28b01b24cfe88bed72717d788  awl-tray-windows-386-v0.21.0.zip
911c30aeea5cc4c6486e149cb845ae49cea78c22f6a08c048a1b4dab2a9c6508  awl-tray-windows-amd64-v0.21.0.zip
4708c3109374cef11c893c709b9cdf996b7b74da517fc1212bc73198444e6d1e  awl-tray-windows-arm64-v0.21.0.zip
a53d4ada0614f41b57dfca1373f78dddffdbac958d0539a776c6b08072ad6913  awl-tray-windows7-386-v0.21.0.zip
32322eea5fe03f8616687b87ce0c048c58c68b30985b0a8eb179769a439b04ac  awl-tray-windows7-amd64-v0.21.0.zip
35de8af0c30d91c015d842f6656d7abd0fb111aaf11ffcc7a9a9a8a79ffdb3f4  awl-windows-386-v0.21.0.zip
e6d2160446281dd9650616d2c2427ba5bc0f0edab45a393a73f25b136d9368e4  awl-windows-amd64-v0.21.0.zip
b24e75af8cfd716e5c5d7e49a91cbbf8a845e8ab82a0a6d561239392b25425eb  awl-windows-arm64-v0.21.0.zip
339de1217b5d596674a7c957ec8cabd824de69594eee537d72bc5dab520ef425  awl-windows7-386-v0.21.0.zip
e41953e7e21c4e6d0a380d99b321a5c10edca9f09a03dd1cd6630f3dc371d8e3  awl-windows7-amd64-v0.21.0.zip