Skip to content
Edit this page

AnyTLS Outbound (type: anytls)

  • Feature: Built-in (all platforms).
  • connect-via: TCP + UDP supported.

Fields

Key Type Required Default Description
name, server, port, connect-via Common Yes (except connect-via) — Standard outbound options.
password string Yes — AnyTLS password.
sni string No server TLS SNI.
alpn list[string] No ["h2", "http/1.1"] TLS ALPN list.
skip-cert-verify bool No false Skip TLS certificate verification.
udp bool No false Enable UDP relay via UoT v2.
tls-cert, tls-key string No None Paired mTLS client certificate and private key.

Parsed-only AnyTLS fields

fingerprint, client-fingerprint, idle-session-check-interval, idle-session-timeout, and min-idle-session are accepted in YAML for profile compatibility, log a warning, and have no runtime effect.

Example

proxies:
  - name: anytls-node
    type: anytls
    server: anytls.example.com
    port: 443
    password: "your-anytls-password"
    sni: anytls.example.com
    udp: true