|
|
@ -166,7 +166,7 @@ is established.
|
|
|
|
0. Install at least one underlying proxy server (e.g. OpenVPN, Shadowsocks).
|
|
|
|
0. Install at least one underlying proxy server (e.g. OpenVPN, Shadowsocks).
|
|
|
|
1. Download [the latest release](https://github.com/cbeuw/Cloak/releases) or clone and build this repo.
|
|
|
|
1. Download [the latest release](https://github.com/cbeuw/Cloak/releases) or clone and build this repo.
|
|
|
|
2. Run `ck-server -key`. The **public** should be given to users, the **private** key should be kept secret.
|
|
|
|
2. Run `ck-server -key`. The **public** should be given to users, the **private** key should be kept secret.
|
|
|
|
3. Run `ck-server -uid`. The new UID will be used as `AdminUID`.
|
|
|
|
3. (Skip if you only want to add unrestricted users) Run `ck-server -uid`. The new UID will be used as `AdminUID`.
|
|
|
|
4. Copy example_config/ckserver.json into a desired location. Change `PrivateKey` to the private key you just obtained;
|
|
|
|
4. Copy example_config/ckserver.json into a desired location. Change `PrivateKey` to the private key you just obtained;
|
|
|
|
change `AdminUID` to the UID you just obtained.
|
|
|
|
change `AdminUID` to the UID you just obtained.
|
|
|
|
5. Configure your underlying proxy server so that they all listen on localhost. Edit `ProxyBook` in the configuration
|
|
|
|
5. Configure your underlying proxy server so that they all listen on localhost. Edit `ProxyBook` in the configuration
|
|
|
|