File tree Expand file tree Collapse file tree
tailscale-over-adguard-home Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ ENV ADGUARD_CONFIG_PATH="/opt/adguardhome/conf/AdGuardHome.yaml" \
5454# Environment variables for Tailscale
5555ENV TAILSCALE_AUTH_KEY="" \
5656 TAILSCALE_HOSTNAME="" \
57- TAILSCALE_EXTRA_ARGS="" \
57+ TAILSCALE_EXTRA_ARGS="--accept-dns=false --accept-routes=false " \
5858 TAILSCALED_EXTRA_ARGS="" \
5959 TAILSCALED_CUSTOM_STATE_DIR="" \
6060 TAILSCALE_SET_EXTRA_ARGS="--webclient"
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ echo "Starting tailscaled with arguments: $TAILSCALED_ARGS"
4343sleep 5
4444
4545# Construct tailscale up arguments
46- TAILSCALE_UP_ARGS=" --accept-dns=false --accept-routes=false "
46+ TAILSCALE_UP_ARGS=" "
4747
4848if [ -n " $TAILSCALE_AUTH_KEY " ]; then
4949 echo " Using Tailscale auth key."
@@ -60,15 +60,15 @@ if [ -n "$TAILSCALE_EXTRA_ARGS" ]; then
6060 TAILSCALE_UP_ARGS=" $TAILSCALE_UP_ARGS ${TAILSCALE_EXTRA_ARGS} "
6161fi
6262
63+ echo " Running tailscale up with arguments: $TAILSCALE_UP_ARGS "
64+ /usr/local/bin/tailscale up $TAILSCALE_UP_ARGS
65+
6366# Run tailscale set with extra arguments
6467if [ -n " $TAILSCALE_SET_EXTRA_ARGS " ]; then
6568 echo " Running tailscale set with arguments: $TAILSCALE_SET_EXTRA_ARGS "
6669 /usr/local/bin/tailscale set $TAILSCALE_SET_EXTRA_ARGS
6770fi
6871
69- echo " Running tailscale up with arguments: $TAILSCALE_UP_ARGS "
70- /usr/local/bin/tailscale up $TAILSCALE_UP_ARGS
71-
7272# Start AdGuard Home in the background
7373ADGUARD_ARGS=" "
7474
You can’t perform that action at this time.
0 commit comments