Skip to content

Configuration Client

张九鹏 edited this page Oct 18, 2017 · 4 revisions

Configuration List

Item Description Default Example
localHost localhost 0.0.0.0 "localHost": "0.0.0.0"
localPort local port 1080 "localPort": 1080
mode program running mode, divided into agentx mode and local socks5 mode. The socks5 mode able to run independently agentx "mode": "agentx"
serverHost cerver address 0.0.0.0 123.123.123.123
serverPort server port pool, at least one, the program will randomly select a port to connect at a time [9999] "serverPort": [21, 22, 23]
protocol client and server agreement used by this item, currently only provide 'shadowsocks' and 'fakedhttp' shadowsocks "protocol": "fakedhttp"
encryption the algorithm name for encryption: aes-256-cfb、aes-192-cfb、aes-128-cfb、aes-256-ofb、aes-192-ofb、aes-128-ofb、bf-cfb aes-256-cfb "encryption": "aes-256-cfb"
password your password for encryption, keep secret my_password "password": "YuhJskF1128"
process the data processing procedures (execute from left to right, some processes might reduce the corresponding speed, so fill in as much as possible not more than 3): compress、encrypt、raw、zero-padding and random-padding encrypt "process": ["compress", "encrypt"]

Quick Configuration Templates

The following is a pre-configured config.json template, copy and cover the text directly to the original configuration file:

Local Socks5 Proxy (no server required)

{
  "localPort": 1080,
  "mode": "socks5"
}

Clear Data (for test only, you need to modify the serverHost and serverPort)

{
  "localHost": "0.0.0.0",
  "localPort": 1080,
  "serverHost": "0.0.0.0",
  "serverPort": [9999],
  "process": ["raw"]
}

Shadowsocks (Encrypted by aes-256-cfb, you need to modify the serverHost, serverPort and password)

{
  "localPort": 1080,
  "serverHost": "0.0.0.0",
  "serverPort": [9999],
  "protocol": "shadowsocks",
  "encryption": "aes-256-cfb",
  "password": "my_password",
  "process": ["encrypt"]
}

Shadowsocks (Encrypted by aes-192-cfb, you need to modify the serverHost, serverPort and password)

{
  "localPort": 1080,
  "serverHost": "0.0.0.0",
  "serverPort": [9999],
  "protocol": "shadowsocks",
  "encryption": "aes-192-cfb",
  "password": "my_password",
  "process": ["encrypt"]
}

Shadowsocks (Encrypted by aes-128-cfb, you need to modify the serverHost, serverPort and password)

{
  "localPort": 1080,
  "serverHost": "0.0.0.0",
  "serverPort": [9999],
  "protocol": "shadowsocks",
  "encryption": "aes-128-cfb",
  "password": "my_password",
  "process": ["encrypt"]
}

Shadowsocks (Encrypted by aes-256-ofb, you need to modify the serverHost, serverPort and password)

{
  "localPort": 1080,
  "serverHost": "0.0.0.0",
  "serverPort": [9999],
  "protocol": "shadowsocks",
  "encryption": "aes-256-ofb",
  "password": "my_password",
  "process": ["encrypt"]
}

Shadowsocks (Encrypted by aes-192-ofb, you need to modify the serverHost, serverPort and password)

{
  "localPort": 1080,
  "serverHost": "0.0.0.0",
  "serverPort": [9999],
  "protocol": "shadowsocks",
  "encryption": "aes-192-ofb",
  "password": "my_password",
  "process": ["encrypt"]
}

Shadowsocks (Encrypted by aes-128-ofb, you need to modify the serverHost, serverPort and password)

{
  "localPort": 1080,
  "serverHost": "0.0.0.0",
  "serverPort": [9999],
  "protocol": "shadowsocks",
  "encryption": "aes-128-ofb",
  "password": "my_password",
  "process": ["encrypt"]
}

Shadowsocks (Encrypted by blowfish-cfb, you need to modify the serverHost, serverPort and password)

{
  "localPort": 1080,
  "serverHost": "0.0.0.0",
  "serverPort": [9999],
  "protocol": "shadowsocks",
  "encryption": "bf-cfb",
  "password": "my_password",
  "process": ["encrypt"]
}

Shadowsocks with Traffic Compress (Encrypted by aes-256-cfb, you need to modify the serverHost, serverPort and password)

{
  "localPort": 1080,
  "serverHost": "0.0.0.0",
  "serverPort": [9999],
  "protocol": "shadowsocks",
  "encryption": "aes-256-cfb",
  "password": "my_password",
  "process": ["compress", "encrypt"]
}

Shadowsocks with Zero-filled Traffic (Encrypted by blowfish-cfb, you need to modify the serverHost, serverPort and password)

{
  "localPort": 1080,
  "serverHost": "0.0.0.0",
  "serverPort": [9999],
  "protocol": "shadowsocks",
  "encryption": "bf-cfb",
  "password": "my_password",
  "process": ["zero-padding", "encrypt"]
}

Http Masquerade (Encrypted by aes-256-cfb, you need to modify the serverHost, serverPort and password)

{
  "localPort": 1080,
  "serverHost": "0.0.0.0",
  "serverPort": [9999],
  "protocol": "fakedhttp",
  "encryption": "aes-256-cfb",
  "password": "my_password",
  "process": ["encrypt"]
}

No Encryption with Http Masquerade (you need to modify the serverHost and serverPort)

{
  "localPort": 1080,
  "serverHost": "0.0.0.0",
  "serverPort": [9999],
  "protocol": "fakedhttp",
  "process": ["raw"]
}

No Encryption with Http Masquerade and Traffic Compress (you need to modify the serverHost and serverPort)

{
  "localPort": 1080,
  "serverHost": "0.0.0.0",
  "serverPort": [9999],
  "protocol": "fakedhttp",
  "process": ["compress"]
}

No Encryption with Random padding (you need to modify the serverHost and serverPort)

{
  "localPort": 1080,
  "serverHost": "0.0.0.0",
  "serverPort": [9999],
  "process": ["random-padding"]
}

Clone this wiki locally