Skip to content

Commit b8acd9f

Browse files
authored
src/tailscale: enable nftables support (#30)
1 parent 36bcfb4 commit b8acd9f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/tailscale/tailscaled-entrypoint.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@
55

66
set -euxo pipefail
77

8+
# Note: It is not recommended that users copy this setting into other
9+
# environments, the feature is in test and will be formally released in the
10+
# future, debug flags may later be recycled for other purposes leading to
11+
# unexpected behavior.
12+
export TS_DEBUG_FIREWALL_MODE=auto
813
if [[ "$(id -u)" -eq 0 ]]; then
914
mkdir -p /workspaces/.tailscale || true
1015
/usr/local/sbin/tailscaled \
@@ -20,5 +25,6 @@ elif command -v sudo &> /dev/null; then
2025
else
2126
echo "tailscaled could not start as root." 1&>2
2227
fi
28+
unset TS_DEBUG_FIREWALL_MODE
2329

2430
exec "$@"

0 commit comments

Comments
 (0)