Skip to content

Proxy

ProxyOptions, formerly "Outbound", is used for setting outbound proxy.

ProxyOptions (formerly Outbound) Object

{
    "Type": "",
    "Network": "tcp",
    "Address": ""
}

Fields

Type

Outbound type for remote connections. Available options are:

Network

Network type for remote connections. Available options are:

  • "tcp". Dual stack IPv4/IPv6 dial with RFC6555 Happy Eyeballs support (by Go standard library).
  • "tcp4". IPv4 only.
  • "tcp6". IPv6 only.

Address

The address of your outbound server (if Type is not empty), in host:port format.

For example, "localhost:1080".

Note

IPv6 addresses here should be wrapped with square brackets. For example, "[::1]:1080".