Skip to content

AnyTLS

AnyTLS is a TLS-based proxy protocol that uses padding and connection reuse to reduce the signature of TLS carried inside TLS: a good spare TCP line next to REALITY.

TransportTCP + TLS
Coressing-box (1.12 or later), mihomo (1.19.3 or later)
Domain and certificatea certificate is needed; a self-signed one works
Shared port 443yes (--mount-443)
Common clientssing-box 1.12+, mihomo-based clients (such as Clash Verge Rev)

From the menu

  • sing-box: main menu 24 (Nodes)4 (AnyTLS)
  • mihomo: main menu 344

The menu can generate a self-signed certificate for you.

sing-box AnyTLS node menu

From the command line

bash
psm node add sing-box anytls --tag my-anytls --port 10443 \
  --sni hk.example.com \
  --cert-path /etc/psm/certs/hk.crt --key-path /etc/psm/certs/hk.key
OptionMeaning
--passwordpassword; generated when left out
--insecure 1for a self-signed certificate
--mount-443put the node on shared port 443
--ech trueadd ECH

Export for clients

bash
psm node export sing-box anytls my-anytls

AnyTLS share link

Released under the AGPL-3.0 license · For lawful use only; follow the laws where you live