README.md: describe client RemoteHost option#233
Open
selivan wants to merge 1 commit intocbeuw:masterfrom
Open
README.md: describe client RemoteHost option#233selivan wants to merge 1 commit intocbeuw:masterfrom
selivan wants to merge 1 commit intocbeuw:masterfrom
Conversation
cbeuw
reviewed
Sep 8, 2023
| `Transport` can be either `direct` or `CDN`. If the server host wishes you to connect to it directly, use `direct`. If | ||
| instead a CDN is used, use `CDN`. | ||
|
|
||
| `RemoteHost` required if direct connection is used. Format: `<IP or domain name>[:port]` |
Owner
There was a problem hiding this comment.
RemoteHost is configurable from the config file (so it should be documented), but it isn't required to be in the config file, as it could be supplied through the environment variable (used by Shadowsocks) or through the CLI options. The config file parser is called after these sources for RemoteHost are checked
https://github.com/cbeuw/Cloak/blob/master/cmd/ck-client/ck-client.go#L142
Author
|
If Cloak is used as transport for OpenVPN, it can not take remote host from environment. Sometimes having it in config file is more convenient, than pass it by command argument. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.