What is AnyTLS?

AnyTLS is a proxy protocol that runs over ordinary TLS. The client opens a TLS connection to the server, authenticates with a password and carries your traffic inside it. From the outside it looks like a regular encrypted TCP connection to a server, usually on port 443.

It was built to address the “TLS in TLS” signature. When a website is opened through a plain TLS proxy, a second TLS handshake runs inside the encrypted connection, and the sizes and order of the first packets can give it away. AnyTLS pads the first packets of a session according to a scheme set by the server, so their sizes no longer mirror the nested handshake. On top of that, one TLS connection carries several of your connections at once, and idle sessions are reused.

In short: AnyTLS is an option for networks where only TCP works and plain TLS proxies start getting recognised. It is not a replacement for VLESS + REALITY, but one more fallback profile.

When it helps

When it will not help

How to add your own AnyTLS key

An AnyTLS key from your own server or from another service is added to v2RAGE, the free app for your own keys and subscriptions. The RAGE app itself does not take your own keys: it works only with RAGE servers.

Key format

A key looks like this: anytls://password@address:port?sni=server.name#Name

Every parameter the app reads is listed in the v2RAGE documentation.

iPhone, iPad and Mac

  1. Open v2RAGE and go to Settings → Import Subscription.
  2. Tap Paste to insert the copied anytls:// link or subscription address, or Scan QR to scan a QR code.
  3. Tap Import. Once the key is read, you will see “Server found” with its name, and the server appears in the list.

The hint under the input field does not yet list anytls:// among the schemes, but the key is accepted.

Where it works

Device AnyTLS
v2RAGE for iPhone, iPad and Mac From version 2.5.1
v2RAGE for Apple TV Not yet: version 2.4.1 is released on Apple TV
v2RAGE for Android (beta) Not yet: the beta does not accept anytls:// keys
RAGE Your own keys cannot be added

If a key does not import on iPhone, iPad or Mac, update v2RAGE from the App Store first.

Keep more than one profile. Networks block in different ways, and a fallback on another protocol helps when the main one stops working. How AmneziaWG, VLESS and Hysteria 2 differ, and how to add your own AmneziaWG key, is covered in AmneziaWG, VLESS or Hysteria 2.

AmneziaWG, VLESS or Hysteria 2 RAGE Integration