SOCKS
SocksServerConfig and SocksClientConfig
Proto: protos/proto/vx/proxy/socks/socks.proto
| Value | Description |
|---|
NO_AUTH | Anonymous |
PASSWORD | Username/password |
| Field | Type | Description |
|---|
authType | AuthType | Authentication mode |
accounts | UserConfig[] | Users when PASSWORD |
address | string | BND.ADDR in SOCKS reply |
udpEnabled | bool | Enable UDP associate |
| Field | Type | Description |
|---|
name | string | Username |
password | string | Password |
delayAuthWrite | bool | Delay auth write on connection |
{
"@type": "type.googleapis.com/vx.proxy.socks.SocksServerConfig",
"authType": "PASSWORD",
"udpEnabled": true,
"accounts": [{ "id": "u1", "secret": "pass" }]
}