Edit this page
SOCKS5 Outbound (type: socks5)
- 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. |
username |
string |
No |
None |
SOCKS5 authentication username. |
password |
string |
No |
None |
SOCKS5 authentication password. |
tls |
bool |
No |
false |
Wrap SOCKS5 control connection in TLS. |
sni |
string |
No |
server |
TLS SNI (when tls: true). |
skip-cert-verify |
bool |
No |
false |
Skip TLS certificate verification. |
udp |
bool |
No |
true |
Enable UDP relay (UDP_ASSOCIATE). |
Example
proxies:
- name: upstream-socks
type: socks5
server: 192.0.2.10
port: 1080
username: "alice"
password: "secret"
tls: false
udp: true