shadowtls_v3_local_handshake.yaml
Change addresses, credentials, certificate paths, and other deployment-specific values before use. This is a complete source file, not a guarantee it can run unchanged on your machine. Read its comments for prerequisites, then run shoes check with the adapted file.
- address: 127.0.0.1:44300 transport: tcp protocol: type: tls # specify different configs based on ShadowTLS SNI shadowtls_targets: example.com: password: asdf123 handshake: # provide a cert and key to handle the server handshake in-process, # without requiring a separate handshake server. # NOTE: most ShadowTLS clients require the cert to still be signed # by a known CA, so a self-signed cert will most likely fail. cert: example.com.pem key: example.com.pem protocol: type: socks username: socks-user password: socks-pass
rules: - mask: 0.0.0.0/0 action: allow # client_chain: direct is optional - direct is the default when omitted client_chain: direct