From 8274bff0dda6c1b7249982b456280c2511242d18 Mon Sep 17 00:00:00 2001 From: "Community Hass.io Add-ons Bot" Date: Sun, 7 Jan 2024 20:30:15 +0000 Subject: [PATCH] :tada: Release of add-on Tailscale 0.14.0 --- README.md | 6 +++--- tailscale/CHANGELOG.md | 30 +++++++++++++++++++++++++++++- tailscale/DOCS.md | 21 ++++++++++++++++----- tailscale/README.md | 6 +++--- tailscale/config.yaml | 3 ++- tailscale/translations/en.yaml | 6 ++++++ 6 files changed, 59 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index e3571fa1..7d52f744 100644 --- a/README.md +++ b/README.md @@ -875,10 +875,10 @@ SOFTWARE. [vscode-armhf-shield]: https://img.shields.io/badge/armhf-no-red.svg [vscode-armv7-shield]: https://img.shields.io/badge/armv7-no-red.svg [vscode-i386-shield]: https://img.shields.io/badge/i386-no-red.svg -[addon-tailscale]: https://github.com/hassio-addons/addon-tailscale/tree/v0.13.1 -[addon-doc-tailscale]: https://github.com/hassio-addons/addon-tailscale/blob/v0.13.1/README.md +[addon-tailscale]: https://github.com/hassio-addons/addon-tailscale/tree/v0.14.0 +[addon-doc-tailscale]: https://github.com/hassio-addons/addon-tailscale/blob/v0.14.0/README.md [tailscale-issue]: https://github.com/hassio-addons/addon-tailscale/issues -[tailscale-version-shield]: https://img.shields.io/badge/version-v0.13.1-blue.svg +[tailscale-version-shield]: https://img.shields.io/badge/version-v0.14.0-blue.svg [tailscale-aarch64-shield]: https://img.shields.io/badge/aarch64-yes-green.svg [tailscale-amd64-shield]: https://img.shields.io/badge/amd64-yes-green.svg [tailscale-armhf-shield]: https://img.shields.io/badge/armhf-no-red.svg diff --git a/tailscale/CHANGELOG.md b/tailscale/CHANGELOG.md index f102b9ad..ba42b4e8 100644 --- a/tailscale/CHANGELOG.md +++ b/tailscale/CHANGELOG.md @@ -1,5 +1,33 @@ ## What’s changed +## ✨ New features + +- Make Proxy and Funnel port configurable @lmagyar ([#277](https://github.com/hassio-addons/addon-tailscale/pull/277)) + +## 🐛 Bug fixes + +- Clamp the MSS for IPv6 also @lmagyar ([#308](https://github.com/hassio-addons/addon-tailscale/pull/308)) + +## 🚀 Enhancements + +- Remove unused variable @lmagyar ([#294](https://github.com/hassio-addons/addon-tailscale/pull/294)) +- Increase wait time for Supervisor @lmagyar ([#309](https://github.com/hassio-addons/addon-tailscale/pull/309)) +- Use new tailscale cli arguments and merge proxy and funnel into longrun serve service @lmagyar ([#306](https://github.com/hassio-addons/addon-tailscale/pull/306)) +- Use regex for Proxy and Funnel port configuration validation @lmagyar ([#313](https://github.com/hassio-addons/addon-tailscale/pull/313)) + +## 🧰 Maintenance + +- 🎆 Updates maintenance/license year to 2024 @frenck ([#312](https://github.com/hassio-addons/addon-tailscale/pull/312)) +- Cleanup ip6tables @lmagyar ([#307](https://github.com/hassio-addons/addon-tailscale/pull/307)) + ## ⬆️ Dependency updates -- ⬆️ Update Add-on base image to v14.3.1 @renovate ([#285](https://github.com/hassio-addons/addon-tailscale/pull/285)) +- ⬆️ Update tailscale/tailscale to v1.52.0 @renovate ([#286](https://github.com/hassio-addons/addon-tailscale/pull/286)) +- ⬆️ Update tailscale/tailscale to v1.52.1 @renovate ([#291](https://github.com/hassio-addons/addon-tailscale/pull/291)) +- ⬆️ Update Add-on base image to v14.3.2 @renovate ([#295](https://github.com/hassio-addons/addon-tailscale/pull/295)) +- ⬆️ Update tailscale/tailscale to v1.54.0 @renovate ([#296](https://github.com/hassio-addons/addon-tailscale/pull/296)) +- ⬆️ Update tailscale/tailscale to v1.54.1 @renovate ([#299](https://github.com/hassio-addons/addon-tailscale/pull/299)) +- ⬆️ Update Add-on base image to v14.3.3 @renovate ([#301](https://github.com/hassio-addons/addon-tailscale/pull/301)) +- ⬆️ Update tailscale/tailscale to v1.56.0 @renovate ([#303](https://github.com/hassio-addons/addon-tailscale/pull/303)) +- ⬆️ Update tailscale/tailscale to v1.56.1 @renovate ([#305](https://github.com/hassio-addons/addon-tailscale/pull/305)) +- ⬆️ Update Add-on base image to v15 (major) @renovate ([#302](https://github.com/hassio-addons/addon-tailscale/pull/302)) diff --git a/tailscale/DOCS.md b/tailscale/DOCS.md index 4b92b372..7518aaa8 100644 --- a/tailscale/DOCS.md +++ b/tailscale/DOCS.md @@ -67,6 +67,7 @@ funnel: false log_level: info login_server: "https://controlplane.tailscale.com" proxy: false +proxy_and_funnel_port: 443 snat_subnet_routes: true tags: - tag:example @@ -158,9 +159,9 @@ More information: [Tailscale Funnel][tailscale_info_funnel] **Note**: _After initial setup, it can take up to 10 minutes for the domain to be publicly available._ -**Note:** _You should not use any port number in the URL that you used +**Note:** _You should not use the port number in the URL that you used previously to access Home Assistant. Tailscale Funnel works on the default HTTPS -port 443._ +port 443 (or the port configured in option `proxy_and_funnel_port`)._ **Note:** _If you encounter strange browser behaviour or strange error messages, try to clear all site related cookies, clear all browser cache, restart browser._ @@ -234,9 +235,19 @@ More information: [Enabling HTTPS][tailscale_info_https] 1. Restart the add-on. -**Note:** _You should not use any port number in the URL that you used +**Note:** _You should not use the port number in the URL that you used previously to access Home Assistant. Tailscale Proxy works on the default HTTPS -port 443._ +port 443 (or the port configured in option `proxy_and_funnel_port`)._ + +### Option: `proxy_and_funnel_port` + +This option allows you to configure the port the Tailscale Proxy and Funnel +features are accessible on the tailnet (in case of Tailscale Proxy is enabled) +and optionally on the internet (in case of Tailscale Funnel is also enabled). + +Only port number 443, 8443 and 10000 is allowed by Tailscale. + +When not set, port number 443 is used by default. ### Option: `snat_subnet_routes` @@ -327,7 +338,7 @@ check [the contributor's page][contributors]. MIT License -Copyright (c) 2021-2023 Franck Nijhof +Copyright (c) 2021-2024 Franck Nijhof Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/tailscale/README.md b/tailscale/README.md index 9ea2ad7f..8f58a798 100644 --- a/tailscale/README.md +++ b/tailscale/README.md @@ -41,9 +41,9 @@ If you are more interested in stable releases of our add-ons: [forum]: https://community.home-assistant.io/?u=frenck [github-sponsors-shield]: https://frenck.dev/wp-content/uploads/2019/12/github_sponsor.png [github-sponsors]: https://github.com/sponsors/frenck -[maintenance-shield]: https://img.shields.io/maintenance/yes/2023.svg +[maintenance-shield]: https://img.shields.io/maintenance/yes/2024.svg [patreon-shield]: https://frenck.dev/wp-content/uploads/2019/12/patreon.png [patreon]: https://www.patreon.com/frenck [project-stage-shield]: https://img.shields.io/badge/project%20stage-experimental-yellow.svg -[release-shield]: https://img.shields.io/badge/version-v0.13.1-blue.svg -[release]: https://github.com/hassio-addons/addon-tailscale/tree/v0.13.1 \ No newline at end of file +[release-shield]: https://img.shields.io/badge/version-v0.14.0-blue.svg +[release]: https://github.com/hassio-addons/addon-tailscale/tree/v0.14.0 \ No newline at end of file diff --git a/tailscale/config.yaml b/tailscale/config.yaml index 0f3f1fec..cca8e021 100644 --- a/tailscale/config.yaml +++ b/tailscale/config.yaml @@ -1,5 +1,5 @@ name: Tailscale -version: 0.13.1 +version: 0.14.0 slug: tailscale description: Zero config VPN for building secure networks url: https://github.com/hassio-addons/addon-tailscale @@ -34,6 +34,7 @@ schema: log_level: list(trace|debug|info|notice|warning|error|fatal)? login_server: url? proxy: bool? + proxy_and_funnel_port: match(^(443|8443|10000)$)? snat_subnet_routes: bool? tags: - match(^tag:[a-zA-Z0-9]-?[a-zA-Z0-9]+$)? diff --git a/tailscale/translations/en.yaml b/tailscale/translations/en.yaml index 1c01595c..1e88564b 100644 --- a/tailscale/translations/en.yaml +++ b/tailscale/translations/en.yaml @@ -50,6 +50,12 @@ configuration: This option allows you to enable Tailscale's Proxy feature to present your Home Assistant instance on your tailnet with a valid certificate. When not set, this option is disabled by default. + proxy_and_funnel_port: + name: Tailscale Proxy and Funnel port + description: >- + This option allows you to configure the port the Tailscale Proxy and Funnel + features are accessible on. + Only port number 443, 8443 and 10000 is allowed by Tailscale. snat_subnet_routes: name: Source NAT subnet routes description: >-