diff --git a/README.md b/README.md index d7d953b..28cfa14 100644 --- a/README.md +++ b/README.md @@ -68,6 +68,8 @@ The router must be be running RouterOS v7.6 or later with the container package | CONTAINER_GATEWAY | The container bridge (veth1) IP address on the router | | | LOGIN_SERVER | Headscale login server | Only required for Headscale control server. Do not set if using Tailscale | | TAILSCALE_ARGS | Additional arguments passed to tailscale | Optional | +| TAILSCALED_ARGS | Additional arguments passed to tailscaled | Optional | +| Example Tailscale control server configuration: ``` diff --git a/build.sh b/build.sh index 5fbe90e..3c69b47 100755 --- a/build.sh +++ b/build.sh @@ -26,7 +26,7 @@ # PLATFORM="linux/arm/v7" TAILSCALE_VERSION=1.48.1 -VERSION=0.1.21 +VERSION=0.1.22 set -eu diff --git a/tailscale.sh b/tailscale.sh index a697e6f..ba324f4 100755 --- a/tailscale.sh +++ b/tailscale.sh @@ -27,7 +27,7 @@ if [[ -z "$LOGIN_SERVER" ]]; then fi # Start tailscaled and bring tailscale up -/usr/local/bin/tailscaled & +/usr/local/bin/tailscaled ${TAILSCALED_ARGS} & until /usr/local/bin/tailscale up \ --reset --authkey=${AUTH_KEY} \ --login-server ${LOGIN_SERVER} \