Skip to content

LISTENERS

listeners:
- name: in-name
type: shadowsocks
port: 10000
listen: 0.0.0.0
routing-mark: 0
rule: sub-rule-1
proxy: proxy

Inbound name. It can be matched by an inbound rule.

Inbound type.

Listening address.

Listening port. Supports the ports format described in Port ranges.

Sets the routing mark for the listening socket. Linux only.

Uses a sub-rule as the matching rules for this inbound. When empty, rules is used by default. If the sub-rule is not found, rules is used directly.

Uses an outbound proxy or proxy group directly. When empty, rules is used by default.