VXVX Docs

Security

TLS and REALITY on TransportConfig

Security layers encrypt or disguise the connection under the wire protocol. They are set on TransportConfig as tls or reality (oneof with the transport protocol).

{
  "transport": {
    "tcp": {},
    "reality": {
      "dest": "www.microsoft.com:443",
      "serverNames": ["www.example.com"],
      "privateKey": "...",
      "shortIds": ["abcd1234"]
    }
  }
}

Hysteria2 uses inline tlsConfig on the protocol message instead of TransportConfig.

Sections

Proto paths:

Comments

On this page