3 releases (breaking)

Uses new Rust 2024

0.4.0 Feb 5, 2026
0.2.0 Jan 18, 2026
0.1.0 Jan 17, 2026

#6 in #privacy-preserving

MIT license

190KB
4K SLoC

apfsds-client

Client application for APFSDS.

Features

  • SOCKS5 Proxy: Local SOCKS5 server for application tunneling
  • TUN Mode: System-wide VPN via TUN interface
  • Local DNS: DNS-over-WSS for leak-free resolution
  • Emergency Mode: Automatic shutdown on kill-switch signal
  • Multi-handler Support: Automatic failover between handlers

Installation

cargo install apfsds-client

Usage

# Run with config file
apfsds --config client.toml

# SOCKS5 mode (default)
# Configure applications to use 127.0.0.1:1080

Configuration

[client]
mode = "socks5"

[client.socks5]
bind = "127.0.0.1:1080"

[client.dns]
enabled = true
bind = "127.0.0.1:5353"

[connection]
endpoints = ["wss://handler.example.com:25347/v1/connect"]

Modes

Mode Description
socks5 Local SOCKS5 proxy (default)
tun System-wide TUN interface

License

MIT

Dependencies

~45–87MB
~1.5M SLoC