Skip to content

Socks outbound

Socks outbound configuration Example:

addr: "12.34.56.7:1089" # or "[12:ff::ff]:1089" for dualstack

Fields

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

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:

# by ip address
bind-interface: "127.0.0.1"
# by interface name
bind-interface: "eth0"