Domain Socket Transport

Domain Socket uses standard Unix domain socket to transport data. Domain socket is system interal tranfer channel. It doesn't jam network buffer and may be a bit faster than trasnferring through local loopback network.

Domain socket can only be used on platforms that supports Unix domain socket, such as macOS and Linux. It is not available on Windows.

When domain socket is used, IP and port specified on the inbound/outbound proxy will be ignored. All traffic is tunneled through the domain socket.

DomainSocketObject

DomainSocketObject is used in dsSettings field in TransportObject and StreamSettingsObject.

{
  "path": "/path/to/ds/file"
}

path: string

An valid absolute file path. Before running V2Ray, the file on this path must not exist.