From: Tyler Young Date: Mon, 28 Aug 2023 00:58:10 +0000 (-0400) Subject: tailscale: enable autodect of fw type X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=40d5ba9378127a852b0b4735b02798be17e2e12c;p=openwrt-packages.git tailscale: enable autodect of fw type Signed-off-by: Tyler Young --- diff --git a/net/tailscale/Makefile b/net/tailscale/Makefile index 8cd236efb..48152ec90 100644 --- a/net/tailscale/Makefile +++ b/net/tailscale/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=tailscale PKG_VERSION:=1.48.1 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/tailscale/tailscale/tar.gz/v$(PKG_VERSION)? diff --git a/net/tailscale/files/tailscale.init b/net/tailscale/files/tailscale.init index 6548fa220..7d5f52134 100644 --- a/net/tailscale/files/tailscale.init +++ b/net/tailscale/files/tailscale.init @@ -23,6 +23,9 @@ start_service() { procd_open_instance procd_set_param command /usr/sbin/tailscaled + # starting with v1.48.1 ENV variable is required to enable autodetection of iptables / nftables + procd_set_param env TS_DEBUG_FIREWALL_MODE=auto + # Set the port to listen on for incoming VPN packets. # Remote nodes will automatically be informed about the new port number, # but you might want to configure this in order to set external firewall