Skip to content

Commit a9bf7e2

Browse files
committed
Stateful filtering is now off by default
1 parent 724ca2c commit a9bf7e2

File tree

3 files changed

+8
-13
lines changed

3 files changed

+8
-13
lines changed

tailscale/DOCS.md

+3-7
Original file line numberDiff line numberDiff line change
@@ -292,11 +292,7 @@ nodes, subnet routers, and app connectors), to only allow return packets for
292292
existing outbound connections. Inbound packets that don't belong to an existing
293293
connection are dropped.
294294

295-
When not set, this option is enabled by default.
296-
297-
To support basic [Site-to-site networking][tailscale_info_site_to_site], you can
298-
disable this functionality, and execute steps 2 and 3 as described on
299-
[Site-to-site networking][tailscale_info_site_to_site].
295+
When not set, this option is disabled by default.
300296

301297
### Option: `tags`
302298

@@ -328,8 +324,8 @@ instance, disable userspace networking mode, which will create a `tailscale0`
328324
network interface on your host.
329325

330326
If you want to access other clients on your tailnet even from your local subnet,
331-
disable `stateful_filtering` and execute steps 2 and 3 as described on
332-
[Site-to-site networking][tailscale_info_site_to_site].
327+
execute steps 2 and 3 as described on [Site-to-site
328+
networking][tailscale_info_site_to_site].
333329

334330
In case your local subnets collide with subnet routes within your tailnet, your
335331
local network access has priority, and these addresses won't be routed toward

tailscale/rootfs/etc/s6-overlay/s6-rc.d/post-tailscaled/run

+4-4
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,13 @@ then
7272
options+=(--login-server="${login_server}")
7373
fi
7474

75-
# Support basic site-to-site networking, disable stateful filtering
75+
# Enable stateful filtering (it's disabled by default from v1.66.4)
7676
if ! bashio::config.has_value "stateful_filtering" || \
77-
bashio::config.true "stateful_filtering";
77+
bashio::config.false "stateful_filtering";
7878
then
79-
options+=(--stateful-filtering)
80-
else
8179
options+=(--stateful-filtering=false)
80+
else
81+
options+=(--stateful-filtering)
8282
fi
8383

8484
# Support advanced site-to-site networking, disable source addresses NAT

tailscale/translations/en.yaml

+1-2
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,7 @@ configuration:
7878
This option enables stateful packet filtering on packet-forwarding nodes (exit
7979
nodes, subnet routers, and app connectors), to only allow return packets for
8080
existing outbound connections.
81-
To support basic Site-to-site networking, you can disable this functionality.
82-
When not set, this option is enabled by default.
81+
When not set, this option is disabled by default.
8382
tags:
8483
name: Tags
8584
description: >-

0 commit comments

Comments
 (0)