Skip to content

Quick Start

Xiaokang Wang edited this page Jun 1, 2021 · 1 revision

A VLite instance is an assembly of facilities provided by the package. The address parameter contains the necessary settings to customize the facilities included in an instance.

To run an UDP server with Unified Connection Stabilization System:

server -Password pw -Address uni+0.0.0.0:8811

and replace pw with your password, and 0.0.0.0:8811 with listen address

To connect to this server, and listen for a socks5 connection for the client, run:

clientd -Password pw -Address uni+127.0.0.1:8811 -AddressL 127.0.0.1:1988

and replace 127.0.0.1:8811 with server address and 127.0.0.1:1988 with socks5 address.

Alternative Address Settings

HTTP

To run an HTTP server with Unified Connection Stabilization System:

prefix Address with uni+http instead of uni+

To connect to this server,

prefix Address with uni+http:// instead of uni+

WebSocket

To run a WebSocket server with Unified Connection Stabilization System:

prefix Address with uni+http instead of uni+

The support for WebSocket is enabled automatically for HTTP server.

To connect to this server,

perfix Address with uni+ws+http:// instead of uni+

UDP with Forward Error Correction

To run an UDP server with Unified Connection Stabilization System and Forward Error Correction:

prefix Address with uni+fec+ instead of uni+ To connect to this server,

prefix Address with uni+fec+ instead of uni+

Additional Settings

UDP

UseUDPPolyMasking

This setting enables the masking for the UDP so that the traffic will look like random data, instead of DTLS traffic. The traffic remains encrypted with DTLS. This masking is applied on top of payload encryption.

This setting needs to be enabled at both client and server to take effect.

HTTP/WebSocket

UseSystemHTTPProxy

Respects System HTTP Proxy environment variable when creating HTTP connections.

UseSystemSocksProxy

Respects System HTTP Socks environment variable when creating HTTP connections.

HTTPDialAddr

When creating HTTP connections, dial this host instead of the one in the URL. This can be used to override CDN’s IP allocation preferences.