Error on Tailscale Interface
-
Hello All,
I’m getting this error from my Tailscale interface. I’ve shutdown my interface until I can get some answers. TIA!
There were error(s) loading the rules: /tmp/rules.debug:320: macro 'TAILSCALE__NETWORK' not defined - The line in question reads [320]: pass in quick on $Tailscale $GWWAN_DHCP inet from $TAILSCALE__NETWORK to any ridentifier 1735523987 keep state label "USER_RULE" label "id:1735523987" label "gw:WAN_DHCP"
@ 2025-01-08 20:21:13 -
Did you assign the tailscale interface? It should not be assigned and doing so can cause a number of problems.
-
@stephenw10 This is what I have in the Firewall tab.
-
That's the firewall rules for it but did you assign the interface?
Is Tailscale even enabled? If not that system alias isn't valid. Just disable the rule or set the source to the subnet(s) directly without the alias.
-
@stephenw10 Yes tailscale is enabled. I’m not sure about assigning the interface. Can you point me to a guide?
-
If you go to Interfaces > Assignments do you see it assigned as an interface?
But either way setting the source to the subnet rather than the system alias will allow the ruleset to load.
-
@stephenw10 So I have to give this an IP addy just like any other interface? I thought it was just blank!
-
For whatever reason the system alias
TAILSCALE__NETWORK
is not being populated so the firewall rules cannot be loaded.So if you replace those in your firewall rules with the actual subnet it will then be valid and load.