Skip to main content

AnyTLS

AnyTLS is a proxy type that uses TLS for secure communication. It is a simple and efficient way to tunnel traffic through a TLS-encrypted connection.

Format

{proxy name} = anytls, {server}, {port}, {password}, {skip-cert-verify}, {sni}, {reuse}

Parameters

NameValueMandatoryNote
proxy name-true
server-trueSupports domain and IP formats.
port0 - 65535true
password-trueAuthentication password.
skip-cert-verifytrue
false
falseSet to true if the proxy does not have a valid TLS certificate. Default value: false.
sni-falseServer Name Indication. Definition is unnecessary if the SNI value matches the host value.
reusetrue
false
falseWhether to reuse connections. Default value: true.

Example

# Full configuration
ProxyAnyTLS = anytls, 1.2.3.4, 443, password, skip-cert-verify=true, sni=abc.com, reuse=false

# Minimal configuration
ProxyAnyTLSMin = anytls, 1.2.3.4, 443, password