Skip to contentSkip to conversation

package/tailscale: add missing config fixups

PATCH Applied James Hilliard 3 participants 4 messages Nov 7, 2025 – Nov 27, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/tailscale: add missing config fixups

There are a number of kernel config fixups required for tailscale to function properly, these are commonly enabled by default in various kernel configs but lets make sure they are all enabled here as well.

---
 package/tailscale/tailscale.mk | 13 +++++++++++++
 1 file changed, 13 insertions(+)
package/tailscale/tailscale.mk +13 -0
index 3c6c7bce1e..86039fd4b1 100644
@@ -28,6 +28,19 @@ endef
 TAILSCALE_POST_INSTALL_TARGET_HOOKS += TAILSCALE_INSTALL_SYMLINK
 
 define TAILSCALE_LINUX_CONFIG_FIXUPS
+	$(call KCONFIG_ENABLE_OPT,CONFIG_IPV6)
+	$(call KCONFIG_ENABLE_OPT,CONFIG_IPV6_MULTIPLE_TABLES)
+	$(call KCONFIG_ENABLE_OPT,CONFIG_NETFILTER)
+	$(call KCONFIG_ENABLE_OPT,CONFIG_NETFILTER_NETLINK)
+	$(call KCONFIG_ENABLE_OPT,CONFIG_NFT_CT)
+	$(call KCONFIG_ENABLE_OPT,CONFIG_NFT_MASQ)
+	$(call KCONFIG_ENABLE_OPT,CONFIG_NFT_NAT)
+	$(call KCONFIG_ENABLE_OPT,CONFIG_NF_CONNTRACK)
+	$(call KCONFIG_ENABLE_OPT,CONFIG_NF_NAT)
+	$(call KCONFIG_ENABLE_OPT,CONFIG_NF_TABLES)
+	$(call KCONFIG_ENABLE_OPT,CONFIG_NF_TABLES_INET)
+	$(call KCONFIG_ENABLE_OPT,CONFIG_NF_TABLES_IPV4)
+	$(call KCONFIG_ENABLE_OPT,CONFIG_NF_TABLES_IPV6)
 	$(call KCONFIG_ENABLE_OPT,CONFIG_TUN)
 endef
 
Signature · 6 lines
2.43.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"James" == James Hilliard <[email protected]> writes:

There are a number of kernel config fixups required for tailscale to function properly, these are commonly enabled by default in various kernel configs but lets make sure they are all enabled here as well.

Committed, thanks.

Out of interest, where did this list of config options come from? I didn't find anything in the tailscale documentation from a quick look.

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw
Quoted 7 lines · Peter Korsgaard
Quoted 6 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

"James" == James Hilliard <[email protected]> writes:

There are a number of kernel config fixups required for tailscale to function properly, these are commonly enabled by default in various kernel configs but lets make sure they are all enabled here as well.

Quoted 6 lines
Quoted 1 line

Committed, thanks.

Out of interest, where did this list of config options come from? I didn't find anything in the tailscale documentation from a quick look.

Yeah, it's not really documented properly at all, so it was a mix of looking through the tailscale sources and testing options.

Quoted 3 lines

--
Bye, Peter Korsgaard

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#3 lore raw
In reply to James Hilliard
Quoted 5 lines · James Hilliard

There are a number of kernel config fixups required for tailscale to function properly, these are commonly enabled by default in various kernel configs but lets make sure they are all enabled here as well.

Applied to 2025.02.x and 2025.08.x, thanks.

Regards,
Arnout

Quoted 18 lines
---
  package/tailscale/tailscale.mk | 13 +++++++++++++
  1 file changed, 13 insertions(+)
package/tailscale/tailscale.mk +6 -0
index 3c6c7bce1e..86039fd4b1 100644
@@ -28,6 +28,19 @@ endef
  TAILSCALE_POST_INSTALL_TARGET_HOOKS += TAILSCALE_INSTALL_SYMLINK
 
  define TAILSCALE_LINUX_CONFIG_FIXUPS
+	$(call KCONFIG_ENABLE_OPT,CONFIG_IPV6)
+	$(call KCONFIG_ENABLE_OPT,CONFIG_IPV6_MULTIPLE_TABLES)
+	$(call KCONFIG_ENABLE_OPT,CONFIG_NETFILTER)
+	$(call KCONFIG_ENABLE_OPT,CONFIG_NETFILTER_NETLINK)
+	$(call KCONFIG_ENABLE_OPT,CONFIG_NFT_CT)
+	$(call KCONFIG_ENABLE_OPT,CONFIG_NFT_MASQ)

package/tailscale/tailscale.mk endef · line 46

Quoted 10 lines
package/tailscale/tailscale.mk +7 -0
+	$(call KCONFIG_ENABLE_OPT,CONFIG_NFT_NAT)
+	$(call KCONFIG_ENABLE_OPT,CONFIG_NF_CONNTRACK)
+	$(call KCONFIG_ENABLE_OPT,CONFIG_NF_NAT)
+	$(call KCONFIG_ENABLE_OPT,CONFIG_NF_TABLES)
+	$(call KCONFIG_ENABLE_OPT,CONFIG_NF_TABLES_INET)
+	$(call KCONFIG_ENABLE_OPT,CONFIG_NF_TABLES_IPV4)
+	$(call KCONFIG_ENABLE_OPT,CONFIG_NF_TABLES_IPV6)
  	$(call KCONFIG_ENABLE_OPT,CONFIG_TUN)
  endef
 

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot