Socks
Socks is an implementation of standard SOCKS protocol, compatible with Socks 4, Socks 4a and Socks 5.
- Name: socks
- Type: Inbound / Outbound
Outbound Proxy Configuration
{
"servers": [{
"address": "127.0.0.1",
"port": 1234,
"users": [
{
"user": "test user",
"pass": "test pass",
"level": 0
}
]
}]
}
Where:
servers: Socks server list, in which each entry has:address: Server addressport: Server portusers: List of user accounts:user: Usernamepass: Passwordlevel: User level.
Notice:
- When user list is not empty, socks will performance user authentication with remote server, using a random user.
- Only supports SOCKS5 servers.
Inbound Proxy Configuration
{
"auth": "noauth",
"accounts": [
{
"user": "my-username",
"pass": "my-password"
}
],
"udp": false,
"ip": "127.0.0.1",
"userLevel": 0
}
Where:
auth: Socks authentication method. Default to"noauth". Options are:"noauth": Anonymous."password": User and password RFC 1929
accounts: An array where each entry is containsuserfor username andpassfor password. Default to empty.- Only works when
authis"password"
- Only works when
udp:trueorfalseto enable UDP. Default to false.ip: When UDP is enabled, this IP address receives UDP packets from client. Default to"127.0.0.1".userLevel: User level. All connections share this level.