v2fly.clbug.comv2fly.clbug.com
Quick Start
Config Reference
Config Reference (v5, WIP)
Tools
Developer Guide
New concise guide
  • 简体中文
  • English
GitHub
Quick Start
Config Reference
Config Reference (v5, WIP)
Tools
Developer Guide
New concise guide
  • 简体中文
  • English
GitHub
  • Config Reference

    • Configuration File Format (Draft)
    • Inbounds
    • Outbounds
      • Supported Proxy Protocol
    • Proxy Protocol
    • Stream
    • Service
    • DNS
    • Router
    • Geo
  • Proxy Protocol

    • Blackhole
    • DNS
    • Dokodemo
    • Freedom
    • HTTP
    • Socks
    • VMess
    • VLite
    • Shadowsocks
    • Shadowsocks2022
    • Trojan
    • Hysteria2
    • VLESS
    • Loopback
  • Stream Transport Protocol

    • TCP
    • WebSocket
    • KCP(mKCP)
    • gRPC
    • QUIC
    • Meek
    • HTTPUpgrade
    • Hysteria2
    • mekya
  • Service

    • Stats
    • Policy
    • Browser Forwarder
    • Burst Observatory
    • Background Observatory
    • Tun
    • Subscription Manager
    • File System Storage

Outbounds

outbound

Outbound connections are used to send data to remote websites or the next level of proxy server. For available protocols, see the protocol list.

{
  "protocol":"vmess",
  "settings":{},
  "sendThrough":"1.2.3.4",
  "tag":"demo",
  "streamSettings":{},
  "proxySettings":{},
  "mux":{}
}

protocol: name of <outbound>

The name of the outbound protocol.

settings: settings of <outbound>

The settings for the outbound protocol.

sendThrough: string

The local address for creating connection.

tag: string

The Tag of the outbound. This is used as an identifier for outbounds.

streamSettings: StreamObject

The stream settings for the outbound. This determine how the protocol data is transferred.

proxySettings: ProxyObject

Forward Proxy(Proxy Chaining) settings.

mux: MuxObject

Connection multiplexor settings.

domainStrategy: [ "AsIs" | "UseIP" | "UseIP4" | "UseIP6" | "" ]

Control whether how domain names in outgoing connection are processed. (v5.12.0+)

  • "AsIs" : Let operating system resolve it.
  • "UseIP" : Resolve it with built-in dns, and use any IP address.
  • "UseIP4" : Resolve it with built-in dns, and use any IPv4 address.
  • "UseIP6" : Resolve it with built-in dns, and use any IPv6 address.

Supported Proxy Protocol

  • SOCKS
  • VMess
  • VLite
  • Shadowsocks
  • Shadowsocks2022
  • Freedom
  • Loopback
  • Blackhole
  • DNS
  • Trojan
  • HTTP
  • VLESS
Edit this page on GitHub
Last Updated:
Contributors: Shelikhoo, 秋のかえで, Arınç ÜNAL
Prev
Inbounds
Next
Proxy Protocol