Skip to content

Commit

Permalink
Add example usage of AlternativeNames config option
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeuw committed Mar 26, 2021
1 parent 88f41f7 commit 365f52a
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,18 @@ encryption and authentication (via AEAD or similar techniques).**
`ServerName` is the domain you want to make your ISP or firewall _think_ you are visiting. Ideally it should
match `RedirAddr` in the server's configuration, a major site the censor allows, but it doesn't have to.

`AlternativeNames` is an array used alongside `ServerName` to shuffle between different ServerNames for every new connection
`AlternativeNames` is an array used alongside `ServerName` to shuffle between different ServerNames for every new
connection. **This may conflict with `CDN` Transport mode** if the CDN provider prohibits domain fronting and rejects
the alternative domains.

Example:

```json
{
"ServerName": "bing.com",
"AlternativeNames": ["cloudflare.com", "github.com"]
}
```

`CDNOriginHost` is the domain name of the _origin_ server (i.e. the server running Cloak) under `CDN` mode. This only
has effect when `Transport` is set to `CDN`. If unset, it will default to the remote hostname supplied via the
Expand Down

1 comment on commit 365f52a

@rilain
Copy link

@rilain rilain commented on 365f52a Mar 30, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Android client not working (# 161)

Please sign in to comment.