Direct outbound¶
Configuration of direct outbound Example:
tag: proxy
dns-strategy: prefer-ipv4 # or prefer-ipv6, ipv4-only, ipv6-only
bind-interface: "127.0.0.1" # optional, by IP address or interface name
fw-mark: 1234 # optional, Linux fwmark
Fields¶
dns¶
- Type:
string(optional) - Required: no
DNS service used to resolve destination domains after routing.
tag¶
- Type:
string - Required: yes
Required label for this endpoint.
dns-strategy¶
- Type:
DnsStrategy - Required: no
- Default:
prefer-ipv4
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: