diff --git a/cloudflared/CHANGELOG.md b/cloudflared/CHANGELOG.md index 19ed2a0..12f8c9d 100644 --- a/cloudflared/CHANGELOG.md +++ b/cloudflared/CHANGELOG.md @@ -1,4 +1,4 @@ ## What’s changed -## 🐛 Bug fixes +## ⬆️ Dependency updates -- Revert Cloudflared to 2023.4.1 @smarthome.com.kh (#389) +- ⬆️ Update cloudflare/cloudflared to v2023.5.0 @renovate (#392) diff --git a/cloudflared/DOCS.md b/cloudflared/DOCS.md index bff012f..882c60b 100644 --- a/cloudflared/DOCS.md +++ b/cloudflared/DOCS.md @@ -85,12 +85,12 @@ advanced config can be achieved using the remote tunnel setup. Example add-on configuration: ```yaml -external_hostname: "ha.example.com" +external_hostname: ha.example.com additional_hosts: - - hostname: "router.example.com" - service: "http://192.168.1.1" - - hostname: "website.example.com" - service: "http://192.168.1.3:8080" + - hostname: router.example.com + service: http://192.168.1.1 + - hostname: website.example.com + service: http://192.168.1.3:8080 ``` **Note**: _This is just an example, don't copy and paste it! Create your own!_ @@ -106,7 +106,7 @@ services. **Note**: _The tunnel name needs to be unique in your Cloudflare account._ ```yaml -external_hostname: "ha.example.com" +external_hostname: ha.example.com ``` ### Option: `additional_hosts` @@ -127,12 +127,12 @@ Please find below an example entry for three additional hosts: ```yaml additional_hosts: - - hostname: "router.example.com" - service: "http://192.168.1.1" - - hostname: "diskstation.example.com" - service: "https://192.168.1.2:5001" - - hostname: "website.example.com" - service: "http://192.168.1.3:8080" + - hostname: router.example.com + service: http://192.168.1.1 + - hostname: diskstation.example.com + service: https://192.168.1.2:5001 + - hostname: website.example.com + service: http://192.168.1.3:8080 disableChunkedEncoding: true ``` @@ -148,7 +148,21 @@ than the default of `homeassistant`. **Note**: _The tunnel name needs to be unique in your Cloudflare account._ ```yaml -tunnel_name: "myHomeAssistant" +tunnel_name: myHomeAssistant +``` + +### Option: `post_quantum` + +If you want Cloudflared to use post-quantum cryptography for the tunnel, +set this flag. + +**Note**: _When `post_quantum` is set, cloudflared restricts itself to QUIC +transport for the tunnel connection. This might lead to problems for some users. +Also, it will only allow post-quantum hybrid key exchanges and not fall back to +a non post-quantum connection._ + +```yaml +post_quantum: true ``` ### Option: `catch_all_service` @@ -162,7 +176,7 @@ as reverse proxy, you should set the flag `nginx_proxy_manager` ([see below](#option-nginx_proxy_manager)) and not use this option._ ```yaml -catch_all_service: "http://192.168.1.100" +catch_all_service: http://192.168.1.100 ``` **Note**: _This will still route your defined `external_hostname`to Home Assistant @@ -174,6 +188,9 @@ CNAME records in Cloudflare for all of them, pointing to your `external_hostname or directly to the tunnel URL that you can get from the CNAME entry of `external_hostname`. +Alternatively you can add a [wildcard DNS record](https://blog.cloudflare.com/wildcard-proxy-for-everyone/) +in Cloudflare by adding a CNAME record with `*` as name. + ### Option: `nginx_proxy_manager` If you want to use Cloudflare Tunnel with the add-on @@ -196,6 +213,9 @@ CNAME records in Cloudflare for all of them, pointing to your `external_hostname or directly to the tunnel URL that you can get from the CNAME entry of `external_hostname`. +Alternatively you can add a [wildcard DNS record](https://blog.cloudflare.com/wildcard-proxy-for-everyone/) +in Cloudflare by adding a CNAME record with `*` as name. + Finally, you have to set-up your proxy hosts in Nginx Proxy Manager and forward them to wherever you like. diff --git a/cloudflared/config.yaml b/cloudflared/config.yaml index 49203db..4914d9f 100644 --- a/cloudflared/config.yaml +++ b/cloudflared/config.yaml @@ -1,10 +1,10 @@ name: Cloudflared -version: 4.1.4 +version: 4.1.5 slug: cloudflared description: Use a Cloudflare Tunnel to remotely connect to Home Assistant without opening any ports url: https://github.com/smarthomecomkh/hasaddon/cloudflared/ -codenotary: info@smarthome.com.kh +codenotary: info@smarthomecambodia.com init: false hassio_api: true hassio_role: homeassistant