TLS
TLS encrypts a connection and authenticates the remote endpoint using a certificate. It is frequently a middle step between a socket dialer and a proxy protocol.
Where it fits
Section titled “Where it fits”Support: outbound step and inbound transport. Consult the Node editor for outgoing chain steps and Inbounds for traffic entry.
Typed outbound example
Section titled “Typed outbound example”This is a structural example, not working credentials. Replace placeholders and match all additional transport requirements of your remote server.
{ "id": "example-node", "name": "TLS example", "origin": "manual", "enabled": true, "chain": [ { "type": "simple", "simple": { "host": "proxy.example.com", "port": 443 } }, { "type": "tls", "tls": { "enable": true, "servernames": [ "proxy.example.com" ] } }, { "type": "trojan", "trojan": { "password": "REPLACE_ME", "peer": "proxy.example.com" } } ]}Fields and requirements
Section titled “Fields and requirements”enable: whether to enable the outbound TLS layer.servernames: expected certificate name(s).ca_cert: optional custom certificate authorities, encoded according to the backend contract.insecure_skip_verify: bypasses certificate verification and should normally remain false.
Important limits and troubleshooting
Section titled “Important limits and troubleshooting”- TLS certificate verification must match the server name, including when dialing an IP address.
- A successful TLS handshake alone does not prove downstream proxy authentication.
- An inbound TLS transport uses a server certificate/private key, not the outbound client fields.
When testing, first confirm that the application reaches an enabled inbound. Then check the route target, outbound credentials and Network diagnostics. The frontend UI can differ by platform, so use the supported fields from the current Go contract rather than examples from old releases.