Socks outbound¶
Socks outbound configuration Example:
Fields¶
half-close-timeout¶
- Type:
u64 - Required: no
- Default:
60_000
Inactivity timeout after either TCP source reaches EOF, in milliseconds. Defaults to 60 seconds. Zero disables the timeout.
dns¶
- Type:
string(optional) - Required: no
DNS service used to resolve destination domains after routing.
addr-resolver¶
- Type:
string(optional) - Required: no
DNS resolver used to resolve the server address.
tag¶
- Type:
string - Required: yes
Required label for this endpoint.
addr¶
- Type:
string - Required: yes
username¶
- Type:
string(optional) - Required: no
SOCKS5 username, optional
password¶
- Type:
string(optional) - Required: no
SOCKS5 password, optional
fw-mark¶
- Type:
u32(optional) - Required: no
fw_mark on linux
bind-interface¶
- Type:
Interface(optional) - Required: no
binding interface of this outgoing packet.
If bind_interface is set, the outgoing packet will be sent from the
specified interface. Recommend to use to cooporate with other tun based proxy like sing-box/mihomo
Example: