mirror of
https://github.com/Fluent-networks/tailscale-mikrotik.git
synced 2025-06-30 04:24:30 +02:00
0.1.27
Tailscale 1.56.1 Fix registering nodes via Oauth
This commit is contained in:
parent
08c077d081
commit
3112ea2b10
4 changed files with 8 additions and 8 deletions
|
@ -54,7 +54,7 @@ RUN GOARCH=$TARGETARCH go install -ldflags="\
|
|||
-X tailscale.com/version.GitCommit=$VERSION_GIT_HASH" \
|
||||
-v ./cmd/tailscale ./cmd/tailscaled
|
||||
|
||||
FROM alpine:3.16
|
||||
FROM alpine:3.18
|
||||
|
||||
RUN apk add --no-cache ca-certificates iptables iproute2 bash openssh curl jq
|
||||
|
||||
|
|
|
@ -69,7 +69,7 @@ This section follows the Mikrotik Container documentation with additional steps
|
|||
| Variable | Description | Comment |
|
||||
| ----------------- | --------------------------------------------- | -------------------------------------------- |
|
||||
| PASSWORD | System root user password | |
|
||||
| AUTH_KEY | Tailscale non-reusable key or Headscale pre-authenticated key | Generate from the Tailscale console or Headscale CLI |
|
||||
| AUTH_KEY | Tailscale non-reusable key, [Oauth secret](https://tailscale.com/kb/1215/oauth-clients#registering-new-nodes-using-oauth-credentials) or Headscale pre-authenticated key | Generate from the Tailscale console or Headscale CLI |
|
||||
| ADVERTISE_ROUTES | Comma-separated list of routes to advertise | |
|
||||
| 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 |
|
||||
|
|
6
build.sh
6
build.sh
|
@ -24,9 +24,9 @@
|
|||
# Set PLATFORM as required for your router model. See:
|
||||
# https://mikrotik.com/products/matrix
|
||||
#
|
||||
PLATFORM="linux/arm/v7"
|
||||
TAILSCALE_VERSION=1.52.1
|
||||
VERSION=0.1.26
|
||||
PLATFORM="linux/amd64"
|
||||
TAILSCALE_VERSION=1.56.1
|
||||
VERSION=0.1.27
|
||||
|
||||
set -eu
|
||||
|
||||
|
|
|
@ -34,8 +34,8 @@ fi
|
|||
# Start tailscaled and bring tailscale up
|
||||
/usr/local/bin/tailscaled ${TAILSCALED_ARGS} &
|
||||
until /usr/local/bin/tailscale up \
|
||||
--reset --authkey=${AUTH_KEY} \
|
||||
--login-server ${LOGIN_SERVER} \
|
||||
--reset --authkey="${AUTH_KEY}" \
|
||||
--login-server "${LOGIN_SERVER}" \
|
||||
--advertise-routes="${ADVERTISE_ROUTES}" \
|
||||
${TAILSCALE_ARGS}
|
||||
do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue