Jump to content

[Plugin] Tailscale


Recommended Posts

Having a really weird issue here, think tailscale related so posting here. To start, my cache became full about a week ago and caused a ton of problems with appdata programs. Had ZFS snapshots of all of them so issue was quickly resolved. Within the last week I started having an issue where my Unraid main page would stop loading all of the drives and the CPU on the dashboard would stop updating usage. Turned out it was related to the built in NGINX and it saying that port 443 and 8 failed to bind to xxxx as they are "Already in use." Tried to reload and restart NGINX several times. When restarting NGINX, issue would go away for about a minute then come back. Tried turning off Docker and VM manager and restarting, no difference. Downgraded Unraid to 6.12.11 from 6.12.12, no change. Nothing was showing it was trying to use 443/80 but kept getting the error. The only change before this occurred was trying to install Gluetun and giving it a tun9 that doesn't exists as a test. Deleted the docker and image and haven't had since. May have broke something in the network though? Not sure. 

Removed this plugin and restarted and issue went away. Reinstalled plugin and erased the setting to start from scratch, issue came back. As of the last 30 minutes I have kept "Unraid services listen on Tailscale IP" to No and this appears to solve the problem. Restarted and everything is normal as well. All other tailscale setting are default. 

I don't know what could have caused this if its related to my cache becoming full a week ago or if there was an update etc. Attached my diagnostics before I narrowed it down to tailscale and fixed it and after I "think" I have fixed it. Anyone have any idea what is going on here?

After Fix-diagnostics-20241006-1749.zip Before Fix-diagnostics-20241006-1521.zip

Link to comment

For most cases, it is best to have MagicDNS turned off, because it doesn’t provide any benefit (and can cause unnecessary issues, as folks are seeing).

 

(SpaceInvaderOne did a great video on setting up Tailscale, but the one problem in it is that it suggests that you have to have MagicDNS turned on — you don’t need it, and probably shouldn’t turn it on. )

Link to comment
3 hours ago, raiderbert said:

Thank you very much! Disabling magic dns resolved the issue with all my br0 docker containers!

 

This didn't fix the issue on my end with the chromium or firefox test containers.

 

The issue I'm seeing is that the containers using custom docker network (br0) aren't resolving domain names while Tailscale is on. On some containers I'm seeing the same DNS failure with or without Tailscale plugin installed. Firefox which I did most testing with, only when TS is installed.

 

Some containers have enough binaries where this is easy to test from their command line - ping, nslookup, etc. So besides Firefox I also tested with QBittorrent's and Stremio's consoles. Both of those containers were already working, but sure enough, nslookups and pings from their consoles failed to resolve domains. In every case, 127.0.0.11:53 is displayed as the DNS server:port.

 

We can go one step further and look at resolve.conf - below is Firefox while tailscale is not installed:

 

# Generated by Docker Engine.
# This file can be edited; Docker Engine will not make further changes once it
# has been modified.

nameserver 127.0.0.11
options ndots:0

# Based on host file: '/etc/resolv.conf' (internal resolver)
# ExtServers: [10.8.8.10]
# Overrides: []
# Option ndots from: internal

 

You can see the docker-generated DNS and then you can see "Extservers" which comes from Unraid's settings (I'm pretty sure it's not coming from DHCP as the static address given when using br0 means the container doesn't perform a query to the DHCP server.

 

Anyway, here's what happens when Tailscale is installed/running:

 

# Generated by Docker Engine.
# This file can be edited; Docker Engine will not make further changes once it
# has been modified.

nameserver 127.0.0.11
options ndots:0

# Based on host file: '/etc/resolv.conf' (internal resolver)
# ExtServers: [100.100.100.100]
# Overrides: []
# Option ndots from: internal

 

Hmm 100.100.100.100 - That's Tailscale's localhost (same as 127.0.0.1 on normal setups). According to their docs, MagicDNS resolves short names when querying DNS port 53 at this address, but it's not what controls whether or not this address is used. The above was captured while MagicDNS was OFF, so it's still always putting that IP in there. The problem is that it doesn't seem to forward to my "upstream" aka "Global" DNS resolver which is defined/set in the Tailscale Admin site/page.

 

The Fixes (Workarounds - use one or the other)

1.)  You can turn OFF the use of Tailscale DNS: in the TS Plugin Settings tab, turn on the ADVANCED view, and part way down the page, set "Use Tailscale DNS settings" to NO and then Apply.

 

2.)  You can manually set DNS Server for the docker container: if you pop open the Advanced view while editing the container, and put "--dns IPv4-of-a-DNS-server" into "Extra Parameters," that will force it to use that server.

 

Doing either of the above, Firefox and Chromium immediately started resolving names/sites without issue. Same for using command line nslookup and ping from QBT and Stremio consoles.

 

I did some testing on my Mac and it doesn't show this problem when using TS's DNS (quad-100) - it seems to correctly go upstream, using my "Global" DNS setting from TS Admin> DNS tab.

 

Edited by Espressomatic
Link to comment
37 minutes ago, Espressomatic said:

Here's the Tailscale advanced setting "Tailscale Outbound Networking"

 

Screenshot2024-10-06at8_42_09PM.thumb.png.8080b4b2880d59e7f0a801924362fa40.png

 

Use DNS is set to Yes by default. It might be a good idea to default this to No if the issue of not using upstream/global DNS can't be fixed in the plugin.

 

The default setting is No:

https://github.com/unraid/unraid-tailscale-utils/blob/d17e399f45b3c13a2e6b6f45f22f27d792efa817/src/usr/local/emhttp/plugins/tailscale/settings.json#L11

Link to comment

I'm running into an issue with Tailscale taking the same port NGINX is using for the web interface. I've made sure that the tailscale1 interface is in the "listening interfaces" section of Network Settings. This started happening around the same time that I enabled HTTPS on my tailscale, but I'm not sure if that's the issue.

 

I was able to run a script on startup that took tailscale down, started NGINX, and the brought back up tailscale -- not that stopped working. Now tailscale is now stealing the port over and over again.

 

Any ideas?

 

Running the plugin, not the docker.

Edited by zacrag
Link to comment
Posted (edited)
2 minutes ago, zacrag said:

I'm running into an issue with Tailscale taking the same port NGINX is using for the web interface. I've made sure that the tailscale1 interface is in the "listening interfaces" section of Network Settings. This started happening around the same time that I enabled HTTPS on my tailscale, but I'm not sure if that's the issue.

 

I was able to run a script on startup that took tailscale down, started NGINX, and the brought back up tailscale -- not that stopped working. Now tailscale is now stealing the port over and over again.

 

Any ideas?

 

Running the plugin, not the docker.

Tailscale won't try to use port 443 by default. This sounds like you might have enabled serve or funnel in Tailscale.

 

What is the output if you run

tailscale serve status

?

Edited by EDACerton
Link to comment
27 minutes ago, zacrag said:

I'm running into an issue with Tailscale taking the same port NGINX is using for the web interface. I've made sure that the tailscale1 interface is in the "listening interfaces" section of Network Settings. This started happening around the same time that I enabled HTTPS on my tailscale, but I'm not sure if that's the issue.

 

I was able to run a script on startup that took tailscale down, started NGINX, and the brought back up tailscale -- not that stopped working. Now tailscale is now stealing the port over and over again.

 

Any ideas?

 

Running the plugin, not the docker.

Have the same issue around 8 posts up. Although it took me forever to get here problem solving, seems identical. Try setting “Unraid services listen on Tailscale IP" to No…. So far this seems to be keeping me in the clear but this is a newer issue. Had the plugin since it came out and this was always set to yes. 

Link to comment
4 hours ago, Wolfhunter1043 said:

Having a really weird issue here, think tailscale related so posting here. To start, my cache became full about a week ago and caused a ton of problems with appdata programs. Had ZFS snapshots of all of them so issue was quickly resolved. Within the last week I started having an issue where my Unraid main page would stop loading all of the drives and the CPU on the dashboard would stop updating usage. Turned out it was related to the built in NGINX and it saying that port 443 and 8 failed to bind to xxxx as they are "Already in use." Tried to reload and restart NGINX several times. When restarting NGINX, issue would go away for about a minute then come back. Tried turning off Docker and VM manager and restarting, no difference. Downgraded Unraid to 6.12.11 from 6.12.12, no change. Nothing was showing it was trying to use 443/80 but kept getting the error. The only change before this occurred was trying to install Gluetun and giving it a tun9 that doesn't exists as a test. Deleted the docker and image and haven't had since. May have broke something in the network though? Not sure. 

Removed this plugin and restarted and issue went away. Reinstalled plugin and erased the setting to start from scratch, issue came back. As of the last 30 minutes I have kept "Unraid services listen on Tailscale IP" to No and this appears to solve the problem. Restarted and everything is normal as well. All other tailscale setting are default. 

I don't know what could have caused this if its related to my cache becoming full a week ago or if there was an update etc. Attached my diagnostics before I narrowed it down to tailscale and fixed it and after I "think" I have fixed it. Anyone have any idea what is going on here?

After Fix-diagnostics-20241006-1749.zip 214.42 kB · 0 downloads Before Fix-diagnostics-20241006-1521.zip 226.77 kB · 0 downloads

Please follow the instructions in the pinned post to generate diagnostics using "Plugin Diagnostics" from Community Applications.

Link to comment
2 hours ago, EDACerton said:

The default setting is No:

 

Weird. I have this installed on 4 different systems, have never changed that setting, and they were all set to Yes when I checked today while writing the previous posts. Running the "Plugin - Preview" version. Unraid 7b3

Link to comment
21 hours ago, EDACerton said:

Please follow the instructions in the pinned post to generate diagnostics using "Plugin Diagnostics" from Community Applications.

Attached are my plugin diagnostics, this is as it sits currently. 24 hours and still working with "Unraid services listen on Tailscale IP" set to "No." As mentioned though I use this and have for year with no issue. 

tailscale-diag-20241006-192724.zip

Link to comment

I've now completely redone my tailnet so it's fully under my control.  VPS hosted in the US running Headscale as my coordinator, installed via docker compose and sits behind Nginx Proxy Manager which lets me use the single IP I have for the server to host unlimited content.

 

I've also re-installed Tailscale linux clients and number of times, and those always default to YES for use Tailscale DNS. Setting that to OFF everywhere, advertising a subnet from one of my local Unraid systems and then setting up the VPS to use the subnet, allows DNS and access back to my LAN transparently.

 

It took a bit to get everything running smoothly and it would have been a lot faster if I had been able to install Unraid on the VPS.

 

Setting up the client on that VPS with the Exit-Node feature is pretty cool and works like a traditional outbound VPN. It also makes it super simple to get onto Hunter Biden's laptop.

 

 

Edited by Espressomatic
Link to comment

hello i am having an issue connecting to the webgui witht he plugin below is the tailscale log im running unraid 6.12.11

 

 

2024/10/14 14:16:25 wgengine: Rec2024/10/14 14:16:25 wgengine: Reconfig: configuring userspace WireGuard config (with 0/0 peers) 2024/10/14 14:16:25 magicsock: 0 active derp conns 2024/10/14 14:16:25 Rebind; defIf="eth0", ips=[192.168.2.53/24] 2024/10/14 14:16:25 onPortUpdate(port=46424, network=udp4) 2024/10/14 14:16:25 blockEngineUpdates(true) 2024/10/14 14:16:25 onPortUpdate(port=37288, network=udp6) 2024/10/14 14:16:25 health(warnable=wantrunning-false): error: Tailscale is stopped. 2024/10/14 14:16:25 Switching ipn state NoState -> NeedsLogin (WantRunning=false, nm=false) 2024/10/14 14:16:25 LinkChange: major, rebinding. New state: interfaces.State{defaultRoute=eth0 ifs={docker0:[172.17.0.1/16] eth0:[192.168.2.53/24] tailscale0:[100.81.13.11/32 fd7a:115c:a1e0::1e01:d0b/128 llu6] virbr0:[192.168.122.1/24]} v4=true v6=false} 2024/10/14 14:16:25 Backend: logs: be:261d5ab28cc432fe964a8cc7e623eb0634093c8a8777e1f8f9fb8e133cded961 fe: 2024/10/14 14:16:25 Start 2024/10/14 14:16:25 got LocalBackend in 25ms 2024/10/14 14:16:25 unraid Taildrop support: symlink "Taildrop" not found 2024/10/14 14:16:25 monitor: ip rule deleted: {Family:2 DstLength:0 SrcLength:0 Tos:0 Table:52 Protocol:0 Scope:0 Type:1 Flags:0 Attributes:{Dst:<nil> Src:<nil> Gateway:<nil> OutIface:0 Priority:5270 Table:52 Mark:0 Pref:<nil> Expires:<nil> Metrics:<nil> Multipath:[]}} 2024/10/14 14:16:25 logpolicy: using system state directory "/var/lib/tailscale" 2024/10/14 14:16:25 pm: migrating "_daemon" profile to new format 2024/10/14 14:16:25 monitor: ip rule deleted: {Family:2 DstLength:0 SrcLength:0 Tos:0 Table:0 Protocol:0 Scope:0 Type:7 Flags:0 Attributes:{Dst:<nil> Src:<nil> Gateway:<nil> OutIface:0 Priority:5250 Table:0 Mark:16711680 Pref:<nil> Expires:<nil> Metrics:<nil> Multipath:[]}} 2024/10/14 14:16:25 monitor: ip rule deleted: {Family:2 DstLength:0 SrcLength:0 Tos:0 Table:253 Protocol:0 Scope:0 Type:1 Flags:0 Attributes:{Dst:<nil> Src:<nil> Gateway:<nil> OutIface:0 Priority:5230 Table:253 Mark:16711680 Pref:<nil> Expires:<nil> Metrics:<nil> Multipath:[]}} 2024/10/14 14:16:25 monitor: ip rule deleted: {Family:2 DstLength:0 SrcLength:0 Tos:0 Table:254 Protocol:0 Scope:0 Type:1 Flags:0 Attributes:{Dst:<nil> Src:<nil> Gateway:<nil> OutIface:0 Priority:5210 Table:254 Mark:16711680 Pref:<nil> Expires:<nil> Metrics:<nil> Multipath:[]}} 2024/10/14 14:16:25 Engine created. 2024/10/14 14:16:25 Starting network monitor... 2024/10/14 14:16:25 Clearing router settings... 2024/10/14 14:16:25 external route: up 2024/10/14 14:16:25 Bringing router up... 2024/10/14 14:16:25 Bringing WireGuard device up... 2024/10/14 14:16:25 Creating WireGuard device... 2024/10/14 14:16:25 magicsock: disco key = d:6434acc32d88522a 2024/10/14 14:16:25 onPortUpdate(port=46424, network=udp4) 2024/10/14 14:16:25 router: netfilter running in iptables mode v6 = true, v6filter = true, v6nat = true 2024/10/14 14:16:25 router: default choosing iptables 2024/10/14 14:16:25 router: using firewall mode pref 2024/10/14 14:16:25 onPortUpdate(port=37288, network=udp6) 2024/10/14 14:16:25 link state: interfaces.State{defaultRoute=eth0 ifs={docker0:[172.17.0.1/16] eth0:[192.168.2.53/24] tailscale0:[100.81.13.11/32 fd7a:115c:a1e0::1e01:d0b/128 llu6] virbr0:[192.168.122.1/24]} v4=true v6=false} 2024/10/14 14:16:25 dns: using *dns.directManager 2024/10/14 14:16:25 dns: using "direct" mode 2024/10/14 14:16:25 dns: [rc=unknown ret=direct] 2024/10/14 14:16:25 wgengine.NewUserspaceEngine(tun "tailscale1") ... 2024/10/14 14:16:25 dns: inotify addwatch: context canceled 2024/10/14 14:16:25 dns: using *dns.directManager 2024/10/14 14:16:25 dns: using "direct" mode 2024/10/14 14:16:25 dns: [rc=unknown ret=direct] 2024/10/14 14:16:25 logpolicy: using system state directory "/var/lib/tailscale" 2024/10/14 14:16:25 LogID: 261d5ab28cc432fe964a8cc7e623eb0634093c8a8777e1f8f9fb8e133cded961 2024/10/14 14:16:25 Program starting: v1.76.0-t6d996464a-gd75b8cb4b, Go 1.23.1: []string{"/usr/local/sbin/tailscaled", "-statedir", "/boot/config/plugins/tailscale/state", "-tun", "tailscale1"} 2024/10/14 14:16:25 logtail started 2024/10/14 14:16:23 logger closing down 2024/10/14 14:16:23 flushing log. 2024/10/14 14:16:23 monitor: ip rule deleted: {Family:2 DstLength:0 SrcLength:0 Tos:0 Table:52 Protocol:0 Scope:0 Type:1 Flags:0 Attributes:{Dst:<nil> Src:<nil> Gateway:<nil> OutIface:0 Priority:5270 Table:52 Mark:0 Pref:<nil> Expires:<nil> Metrics:<nil> Multipath:[]}} 2024/10/14 14:16:23 monitor: ip rule deleted: {Family:2 DstLength:0 SrcLength:0 Tos:0 Table:0 Protocol:0 Scope:0 Type:7 Flags:0 Attributes:{Dst:<nil> Src:<nil> Gateway:<nil> OutIface:0 Priority:5250 Table:0 Mark:16711680 Pref:<nil> Expires:<nil> Metrics:<nil> Multipath:[]}} 2024/10/14 14:16:23 monitor: ip rule deleted: {Family:2 DstLength:0 SrcLength:0 Tos:0 Table:253 Protocol:0 Scope:0 Type:1 Flags:0 Attributes:{Dst:<nil> Src:<nil> Gateway:<nil> OutIface:0 Priority:5230 Table:253 Mark:16711680 Pref:<nil> Expires:<nil> Metrics:<nil> Multipath:[]}} 2024/10/14 14:16:23 monitor: ip rule deleted: {Family:2 DstLength:0 SrcLength:0 Tos:0 Table:254 Protocol:0 Scope:0 Type:1 Flags:0 Attributes:{Dst:<nil> Src:<nil> Gateway:<nil> OutIface:0 Priority:5210 Table:254 Mark:16711680 Pref:<nil> Expires:<nil> Metrics:<nil> Multipath:[]}} 2024/10/14 14:16:23 monitor: RTM_DELROUTE: src=, dst=ff00::/8, gw=, outif=26, table=255 2024/10/14 14:16:23 monitor: RTM_DELROUTE: src=, dst=fe80::5b9a:c496:4bd2:3997/128, gw=, outif=26, table=255 2024/10/14 14:16:23 monitor: RTM_DELROUTE: src=, dst=fe80::/128, gw=, outif=26, table=255 2024/10/14 14:16:23 monitor: RTM_DELROUTE: src=, dst=fe80::/64, gw=, outif=26, table=254 2024/10/14 14:16:23 control: Client.Shutdown done. 2024/10/14 14:16:23 control: authRoutine: exiting 2024/10/14 14:16:23 control: mapRoutine: exiting 2024/10/14 14:16:23 control: updateRoutine: exiting 2024/10/14 14:16:23 control: client.Shutdown ... 2024/10/14 14:16:23 tailscaled got signal terminated; shutting down 2024/10/14 14:15:19 EditPrefs: MaskedPrefs{RunWebClient=true} 2024/10/14 14:11:45 health(warnable=no-derp-connection): error: Tailscale could not connect to the relay server with ID '0'. Your Internet connection might be down, or the server might be temporarily unavailable. 2024/10/14 14:11:35 router: somebody (likely systemd-networkd) deleted ip rules; restoring Tailscale's 2024/10/14 14:11:35 dns: OScfg: {} 2024/10/14 14:11:35 dns: Resolvercfg: {Routes:{} Hosts:0 LocalDomains:[]} 2024/10/14 14:11:35 dns: Set: {DefaultResolvers:[] Routes:{} SearchDomains:[] Hosts:0} 2024/10/14 14:11:35 wgengine: Reconfig: configuring DNS 2024/10/14 14:11:35 wgengine: Reconfig: configuring router 2024/10/14 14:11:35 wgengine: Reconfig: configuring userspace WireGuard config (with 0/0 peers) 2024/10/14 14:11:35 blockEngineUpdates(true) 2024/10/14 14:11:35 health(warnable=wantrunning-false): error: Tailscale is stopped. 2024/10/14 14:11:35 Switching ipn state NoState -> NeedsLogin (WantRunning=false, nm=false) 2024/10/14 14:11:35 Backend: logs: be:261d5ab28cc432fe964a8cc7e623eb0634093c8a8777e1f8f9fb8e133cded961 fe: 2024/10/14 14:11:35 monitor: gateway and self IP changed: gw=192.168.2.1 self=192.168.2.53 2024/10/14 14:11:35 magicsock: 0 active derp conns 2024/10/14 14:11:35 Rebind; defIf="eth0", ips=[192.168.2.53/24] 2024/10/14 14:11:35 onPortUpdate(port=43040, network=udp4) 2024/10/14 14:11:35 onPortUpdate(port=52607, network=udp6) 2024/10/14 14:11:35 Start 2024/10/14 14:11:35 got LocalBackend in 27ms 2024/10/14 14:11:35 unraid Taildrop support: symlink "Taildrop" not found 2024/10/14 14:11:35 LinkChange: major, rebinding. New state: interfaces.State{defaultRoute=eth0 ifs={docker0:[172.17.0.1/16] eth0:[192.168.2.53/24] tailscale0:[100.81.13.11/32 fd7a:115c:a1e0::1e01:d0b/128 llu6] virbr0:[192.168.122.1/24]} v4=true v6=false} 2024/10/14 14:11:35 logpolicy: using system state directory "/var/lib/tailscale" 2024/10/14 14:11:35 pm: migrating "_daemon" profile to new format 2024/10/14 14:11:35 monitor: ip rule deleted: {Family:2 DstLength:0 SrcLength:0 Tos:0 Table:52 Protocol:0 Scope:0 Type:1 Flags:0 Attributes:{Dst:<nil> Src:<nil> Gateway:<nil> OutIface:0 Priority:5270 Table:52 Mark:0 Pref:<nil> Expires:<nil> Metrics:<nil> Multipath:[]}} 2024/10/14 14:11:35 monitor: ip rule deleted: {Family:2 DstLength:0 SrcLength:0 Tos:0 Table:0 Protocol:0 Scope:0 Type:7 Flags:0 Attributes:{Dst:<nil> Src:<nil> Gateway:<nil> OutIface:0 Priority:5250 Table:0 Mark:16711680 Pref:<nil> Expires:<nil> Metrics:<nil> Multipath:[]}} 2024/10/14 14:11:35 monitor: ip rule deleted: {Family:2 DstLength:0 SrcLength:0 Tos:0 Table:253 Protocol:0 Scope:0 Type:1 Flags:0 Attributes:{Dst:<nil> Src:<nil> Gateway:<nil> OutIface:0 Priority:5230 Table:253 Mark:16711680 Pref:<nil> Expires:<nil> Metrics:<nil> Multipath:[]}} 2024/10/14 14:11:35 monitor: ip rule deleted: {Family:2 DstLength:0 SrcLength:0 Tos:0 Table:254 Protocol:0 Scope:0 Type:1 Flags:0 Attributes:{Dst:<nil> Src:<nil> Gateway:<nil> OutIface:0 Priority:5210 Table:254 Mark:16711680 Pref:<nil> Expires:<nil> Metrics:<nil> Multipath:[]}} 2024/10/14 14:11:35 Engine created. 2024/10/14 14:11:35 Starting network monitor... 2024/10/14 14:11:35 Clearing router settings... 2024/10/14 14:11:35 external route: up 2024/10/14 14:11:35 Bringing router up... 2024/10/14 14:11:35 Bringing WireGuard device up... 2024/10/14 14:11:35 Creating WireGuard device... 2024/10/14 14:11:35 magicsock: disco key = d:2f66d20aaf473f06 2024/10/14 14:11:35 onPortUpdate(port=43040, network=udp4) 2024/10/14 14:11:35 router: netfilter running in iptables mode v6 = true, v6filter = true, v6nat = true 2024/10/14 14:11:35 router: default choosing iptables 2024/10/14 14:11:35 router: using firewall mode pref 2024/10/14 14:11:35 onPortUpdate(port=52607, network=udp6) 2024/10/14 14:11:35 link state: interfaces.State{defaultRoute=eth0 ifs={docker0:[172.17.0.1/16] eth0:[192.168.2.53/24] tailscale0:[100.81.13.11/32 fd7a:115c:a1e0::1e01:d0b/128 llu6] virbr0:[192.168.122.1/24]} v4=true v6=false} 2024/10/14 14:11:35 dns: using *dns.directManager 2024/10/14 14:11:35 dns: using "direct" mode 2024/10/14 14:11:35 dns: [rc=unknown ret=direct] 2024/10/14 14:11:35 wgengine.NewUserspaceEngine(tun "tailscale1") ... 2024/10/14 14:11:35 dns: inotify addwatch: context canceled 2024/10/14 14:11:35 dns: using *dns.directManager 2024/10/14 14:11:35 dns: using "direct" mode 2024/10/14 14:11:35 dns: [rc=unknown ret=direct] 2024/10/14 14:11:35 logpolicy: using system state directory "/var/lib/tailscale" 2024/10/14 14:11:35 LogID: 261d5ab28cc432fe964a8cc7e623eb0634093c8a8777e1f8f9fb8e133cded961 2024/10/14 14:11:35 Program starting: v1.76.0-t6d996464a-gd75b8cb4b, Go 1.23.1: []string{"/usr/local/sbin/tailscaled", "-statedir", "/boot/config/plugins/tailscale/state", "-tun", "tailscale1"} 2024/10/14 14:11:35 logtail started 2024/10/14 14:11:31 logger closing down 2024/10/14 14:11:31 flushing log. 2024/10/14 14:11:31 monitor: ip rule deleted: {Family:2 DstLength:0 SrcLength:0 Tos:0 Table:52 Protocol:0 Scope:0 Type:1 Flags:0 Attributes:{Dst:<nil> Src:<nil> Gateway:<nil> OutIface:0 Priority:5270 Table:52 Mark:0 Pref:<nil> Expires:<nil> Metrics:<nil> Multipath:[]}} 2024/10/14 14:11:31 monitor: ip rule deleted: {Family:2 DstLength:0 SrcLength:0 Tos:0 Table:0 Protocol:0 Scope:0 Type:7 Flags:0 Attributes:{Dst:<nil> Src:<nil> Gateway:<nil> OutIface:0 Priority:5250 Table:0 Mark:16711680 Pref:<nil> Expires:<nil> Metrics:<nil> Multipath:[]}} 2024/10/14 14:11:31 monitor: ip rule deleted: {Family:2 DstLength:0 SrcLength:0 Tos:0 Table:253 Protocol:0 Scope:0 Type:1 Flags:0 Attributes:{Dst:<nil> Src:<nil> Gateway:<nil> OutIface:0 Priority:5230 Table:253 Mark:16711680 Pref:<nil> Expires:<nil> Metrics:<nil> Multipath:[]}} 2024/10/14 14:11:31 monitor: ip rule deleted: {Family:2 DstLength:0 SrcLength:0 Tos:0 Table:254 Protocol:0 Scope:0 Type:1 Flags:0 Attributes:{Dst:<nil> Src:<nil> Gateway:<nil> OutIface:0 Priority:5210 Table:254 Mark:16711680 Pref:<nil> Expires:<nil> Metrics:<nil> Multipath:[]}} 2024/10/14 14:11:31 monitor: RTM_DELROUTE: src=, dst=ff00::/8, gw=, outif=25, table=255 2024/10/14 14:11:31 monitor: RTM_DELROUTE: src=, dst=fe80::fbd5:bc54:377c:13f9/128, gw=, outif=25, table=255 2024/10/14 14:11:31 monitor: RTM_DELROUTE: src=, dst=fe80::/128, gw=, outif=25, table=255 2024/10/14 14:11:31 monitor: RTM_DELROUTE: src=, dst=fe80::/64, gw=, outif=25, table=254 2024/10/14 14:11:31 control: Client.Shutdown done. 2024/10/14 14:11:31 control: updateRoutine: exiting 2024/10/14 14:11:31 control: authRoutine: exiting 2024/10/14 14:11:31 control: mapRoutine: exiting 2024/10/14 14:11:31 control: client.Shutdown ... 2024/10/14 14:11:31 tailscaled got signal terminated; shutting down 2024/10/14 14:11:09 health(warnable=no-derp-connection): error: Tailscale could not connect to the relay server with ID '0'. Your Internet connection might be down, or the server might be temporarily unavailable. 2024/10/14 14:11:07 EditPrefs: MaskedPrefs{RunWebClient=true} 2024/10/14 14:11:00 router: somebody (likely systemd-networkd) deleted ip rules; restoring Tailscale's 2024/10/14 14:10:59 monitor: gateway and self IP changed: gw=192.168.2.1 self=192.168.2.53 2024/10/14 14:10:59 dns: OScfg: {} 2024/10/14 14:10:59 dns: Resolvercfg: {Routes:{} Hosts:0 LocalDomains:[]} 2024/10/14 14:10:59 dns: Set: {DefaultResolvers:[] Routes:{} SearchDomains:[] Hosts:0} 2024/10/14 14:10:59 wgengine: Reconfig: configuring DNS 2024/10/14 14:10:59 wgengine: Reconfig: configuring router 2024/10/14 14:10:59 wgengine: Reconfig: configuring userspace WireGuard config (with 0/0 peers) 2024/10/14 14:10:59 health(warnable=wantrunning-false): error: Tailscale is stopped. 2024/10/14 14:10:59 blockEngineUpdates(true) 2024/10/14 14:10:59 Switching ipn state NoState -> NeedsLogin (WantRunning=false, nm=false) 2024/10/14 14:10:59 Backend: logs: be:261d5ab28cc432fe964a8cc7e623eb0634093c8a8777e1f8f9fb8e133cded961 fe: 2024/10/14 14:10:59 magicsock: 0 active derp conns 2024/10/14 14:10:59 Rebind; defIf="eth0", ips=[192.168.2.53/24] 2024/10/14 14:10:59 onPortUpdate(port=49592, network=udp4) 2024/10/14 14:10:59 onPortUpdate(port=57024, network=udp6) 2024/10/14 14:10:59 LinkChange: major, rebinding. New state: interfaces.State{defaultRoute=eth0 ifs={docker0:[172.17.0.1/16] eth0:[192.168.2.53/24] tailscale0:[100.81.13.11/32 fd7a:115c:a1e0::1e01:d0b/128 llu6] virbr0:[192.168.122.1/24]} v4=true v6=false} 2024/10/14 14:10:59 Start 2024/10/14 14:10:59 got LocalBackend in 24ms 2024/10/14 14:10:59 unraid Taildrop support: symlink "Taildrop" not found 2024/10/14 14:10:59 logpolicy: using system state directory "/var/lib/tailscale" 2024/10/14 14:10:59 pm: migrating "_daemon" profile to new format 2024/10/14 14:10:59 monitor: ip rule deleted: {Family:2 DstLength:0 SrcLength:0 Tos:0 Table:52 Protocol:0 Scope:0 Type:1 Flags:0 Attributes:{Dst:<nil> Src:<nil> Gateway:<nil> OutIface:0 Priority:5270 Table:52 Mark:0 Pref:<nil> Expires:<nil> Metrics:<nil> Multipath:[]}} 2024/10/14 14:10:59 monitor: ip rule deleted: {Family:2 DstLength:0 SrcLength:0 Tos:0 Table:0 Protocol:0 Scope:0 Type:7 Flags:0 Attributes:{Dst:<nil> Src:<nil> Gateway:<nil> OutIface:0 Priority:5250 Table:0 Mark:16711680 Pref:<nil> Expires:<nil> Metrics:<nil> Multipath:[]}} 2024/10/14 14:10:59 monitor: ip rule deleted: {Family:2 DstLength:0 SrcLength:0 Tos:0 Table:253 Protocol:0 Scope:0 Type:1 Flags:0 Attributes:{Dst:<nil> Src:<nil> Gateway:<nil> OutIface:0 Priority:5230 Table:253 Mark:16711680 Pref:<nil> Expires:<nil> Metrics:<nil> Multipath:[]}} 2024/10/14 14:10:59 monitor: ip rule deleted: {Family:2 DstLength:0 SrcLength:0 Tos:0 Table:254 Protocol:0 Scope:0 Type:1 Flags:0 Attributes:{Dst:<nil> Src:<nil> Gateway:<nil> OutIface:0 Priority:5210 Table:254 Mark:16711680 Pref:<nil> Expires:<nil> Metrics:<nil> Multipath:[]}} 2024/10/14 14:10:59 Engine created. 2024/10/14 14:10:59 Starting network monitor... 2024/10/14 14:10:59 Clearing router settings... 2024/10/14 14:10:59 Bringing router up... 2024/10/14 14:10:59 external route: up 2024/10/14 14:10:59 Bringing WireGuard device up... 2024/10/14 14:10:59 Creating WireGuard device... 2024/10/14 14:10:59 magicsock: disco key = d:df0f29659166dcb8 2024/10/14 14:10:59 onPortUpdate(port=49592, network=udp4) 2024/10/14 14:10:59 router: netfilter running in iptables mode v6 = true, v6filter = true, v6nat = true 2024/10/14 14:10:59 router: default choosing iptables 2024/10/14 14:10:59 router: using firewall mode pref 2024/10/14 14:10:59 onPortUpdate(port=57024, network=udp6) 2024/10/14 14:10:59 link state: interfaces.State{defaultRoute=eth0 ifs={docker0:[172.17.0.1/16] eth0:[192.168.2.53/24] tailscale0:[100.81.13.11/32 fd7a:115c:a1e0::1e01:d0b/128 llu6] virbr0:[192.168.122.1/24]} v4=true v6=false} 2024/10/14 14:10:59 dns: using *dns.directManager 2024/10/14 14:10:59 dns: using "direct" mode 2024/10/14 14:10:59 dns: [rc=unknown ret=direct] 2024/10/14 14:10:59 wgengine.NewUserspaceEngine(tun "tailscale1") ... 2024/10/14 14:10:59 [RATELIMIT] format("cleanup: delete and flush chain %s: %s") 2024/10/14 14:10:59 cleanup: delete and flush chain ts-forward: %!s(<nil>) 2024/10/14 14:10:59 cleanup: delete and flush chain ts-input: %!s(<nil>) 2024/10/14 14:10:59 cleanup: delete and flush chain ts-postrouting: %!s(<nil>) 2024/10/14 14:10:59 cleanup: delete and flush chain ts-forward: %!s(<nil>) 2024/10/14 14:10:59 cleanup: delete and flush chain ts-input: %!s(<nil>) 2024/10/14 14:10:59 dns: inotify addwatch: context canceled 2024/10/14 14:10:59 dns: using *dns.directManager 2024/10/14 14:10:59 dns: using "direct" mode 2024/10/14 14:10:59 dns: [rc=unknown ret=direct] 2024/10/14 14:10:59 logpolicy: using system state directory "/var/lib/tailscale" 2024/10/14 14:10:59 LogID: 261d5ab28cc432fe964a8cc7e623eb0634093c8a8777e1f8f9fb8e133cded961 2024/10/14 14:10:59 Program starting: v1.76.0-t6d996464a-gd75b8cb4b, Go 1.23.1: []string{"/usr/local/sbin/tailscaled", "-statedir", "/boot/config/plugins/tailscale/state", "-tun", "tailscale1"} 2024/10/14 14:10:59 logtail started 2024/10/14 14:09:43 logger closing down 2024/10/14 14:09:43 flushing log. 2024/10/14 14:09:43 monitor: ip rule deleted: {Family:2 DstLength:0 SrcLength:0 Tos:0 Table:52 Protocol:0 Scope:0 Type:1 Flags:0 Attributes:{Dst:<nil> Src:<nil> Gateway:<nil> OutIface:0 Priority:5270 Table:52 Mark:0 Pref:<nil> Expires:<nil> Metrics:<nil> Multipath:[]}} 2024/10/14 14:09:43 monitor: ip rule deleted: {Family:2 DstLength:0 SrcLength:0 Tos:0 Table:0 Protocol:0 Scope:0 Type:7 Flags:0 Attributes:{Dst:<nil> Src:<nil> Gateway:<nil> OutIface:0 Priority:5250 Table:0 Mark:16711680 Pref:<nil> Expires:<nil> Metrics:<nil> Multipath:[]}} 2024/10/14 14:09:43 monitor: ip rule deleted: {Family:2 DstLength:0 SrcLength:0 Tos:0 Table:253 Protocol:0 Scope:0 Type:1 Flags:0 Attributes:{Dst:<nil> Src:<nil> Gateway:<nil> OutIface:0 Priority:5230 Table:253 Mark:16711680 Pref:<nil> Expires:<nil> Metrics:<nil> Multipath:[]}} 2024/10/14 14:09:43 monitor: ip rule deleted: {Family:2 DstLength:0 SrcLength:0 Tos:0 Table:254 Protocol:0 Scope:0 Type:1 Flags:0 Attributes:{Dst:<nil> Src:<nil> Gateway:<nil> OutIface:0 Priority:5210 Table:254 Mark:16711680 Pref:<nil> Expires:<nil> Metrics:<nil> Multipath:[]}} 2024/10/14 14:09:43 monitor: RTM_DELROUTE: src=, dst=ff00::/8, gw=, outif=20, table=255 2024/10/14 14:09:43 monitor: RTM_DELROUTE: src=, dst=fe80::c64b:98b:41c3:80d5/128, gw=, outif=20, table=255 2024/10/14 14:09:43 monitor: RTM_DELROUTE: src=, dst=fe80::/128, gw=, outif=20, table=255 2024/10/14 14:09:43 monitor: RTM_DELROUTE: src=, dst=fe80::/64, gw=, outif=20, table=254 2024/10/14 14:09:43 control: Client.Shutdown done. 2024/10/14 14:09:43 control: mapRoutine: exiting 2024/10/14 14:09:43 control: authRoutine: exiting 2024/10/14 14:09:43 control: updateRoutine: exiting 2024/10/14 14:09:43 control: client.Shutdown ... 2024/10/14 14:09:43 tailscaled got signal terminated; shutting down 2024/10/14 14:01:13 router: somebody (likely systemd-networkd) deleted ip rules; restoring Tailscale's 2024/10/14 14:01:13 magicsock: 0 active derp conns 2024/10/14 14:01:13 Rebind; defIf="eth0", ips=[192.168.2.53/24] 2024/10/14 14:01:13 onPortUpdate(port=57531, network=udp4) 2024/10/14 14:01:13 onPortUpdate(port=48521, network=udp6) 2024/10/14 14:01:13 wgengine: set DNS config again after major link change 2024/10/14 14:01:13 dns: OScfg: {} 2024/10/14 14:01:13 dns: Resolvercfg: {Routes:{} Hosts:0 LocalDomains:[]} 2024/10/14 14:01:13 dns: Set: {DefaultResolvers:[] Routes:{} SearchDomains:[] Hosts:0} 2024/10/14 14:01:13 LinkChange: major, rebinding. New state: interfaces.State{defaultRoute=eth0 ifs={docker0:[172.17.0.1/16] eth0:[192.168.2.53/24] virbr0:[192.168.122.1/24]} v4=true v6=false} 2024/10/14 14:01:13 monitor: ip rule deleted: {Family:2 DstLength:0 SrcLength:0 Tos:0 Table:52 Protocol:0 Scope:0 Type:1 Flags:0 Attributes:{Dst:<nil> Src:<nil> Gateway:<nil> OutIface:0 Priority:5270 Table:52 Mark:0 Pref:<nil> Expires:<nil> Metrics:<nil> Multipath:[]}} 2024/10/14 14:01:13 monitor: ip rule deleted: {Family:2 DstLength:0 SrcLength:0 Tos:0 Table:0 Protocol:0 Scope:0 Type:7 Flags:0 Attributes:{Dst:<nil> Src:<nil> Gateway:<nil> OutIface:0 Priority:5250 Table:0 Mark:16711680 Pref:<nil> Expires:<nil> Metrics:<nil> Multipath:[]}} 2024/10/14 14:01:13 monitor: ip rule deleted: {Family:2 DstLength:0 SrcLength:0 Tos:0 Table:253 Protocol:0 Scope:0 Type:1 Flags:0 Attributes:{Dst:<nil> Src:<nil> Gateway:<nil> OutIface:0 Priority:5230 Table:253 Mark:16711680 Pref:<nil> Expires:<nil> Metrics:<nil> Multipath:[]}} 2024/10/14 14:01:13 monitor: ip rule deleted: {Family:2 DstLength:0 SrcLength:0 Tos:0 Table:254 Protocol:0 Scope:0 Type:1 Flags:0 Attributes:{Dst:<nil> Src:<nil> Gateway:<nil> OutIface:0 Priority:5210 Table:254 Mark:16711680 Pref:<nil> Expires:<nil> Metrics:<nil> Multipath:[]}} 2024/10/14 14:01:12 magicsock: 0 active derp conns 2024/10/14 14:01:12 Rebind; defIf="eth0", ips=[192.168.2.53/24] 2024/10/14 14:01:12 onPortUpdate(port=57531, network=udp4) 2024/10/14 14:01:12 onPortUpdate(port=48521, network=udp6) 2024/10/14 14:01:12 wgengine: set DNS config again after major link change 2024/10/14 14:01:12 dns: OScfg: {} 2024/10/14 14:01:12 dns: Resolvercfg: {Routes:{} Hosts:0 LocalDomains:[]} 2024/10/14 14:01:12 dns: Set: {DefaultResolvers:[] Routes:{} SearchDomains:[] Hosts:0} 2024/10/14 14:01:12 LinkChange: major, rebinding. New state: interfaces.State{defaultRoute=eth0 ifs={docker0:[172.17.0.1/16] eth0:[192.168.2.53/24] virbr0:[192.168.122.1/24]} v4=true v6=false} 2024/10/14 14:01:12 monitor: RTM_DELROUTE: src=, dst=ff00::/8, gw=, outif=23, table=255 2024/10/14 14:01:12 monitor: RTM_DELROUTE: src=, dst=fe80::b8a8:73c7:ffe3:603d/128, gw=, outif=23, table=255 2024/10/14 14:01:12 monitor: RTM_DELROUTE: src=, dst=fe80::/128, gw=, outif=23, table=255 2024/10/14 14:01:12 monitor: RTM_DELROUTE: src=, dst=fe80::/64, gw=, outif=23, table=254 2024/10/14 13:49:17 router: somebody (likely systemd-networkd) deleted ip rules; restoring Tailscale's 2024/10/14 13:49:17 magicsock: 0 active derp conns 2024/10/14 13:49:17 Rebind; defIf="eth0", ips=[192.168.2.53/24] 2024/10/14 13:49:17 onPortUpdate(port=57531, network=udp4) 2024/10/14 13:49:17 onPortUpdate(port=48521, network=udp6) 2024/10/14 13:49:17 wgengine: set DNS config again after major link change 2024/10/14 13:49:17 dns: OScfg: {} 2024/10/14 13:49:17 dns: Resolvercfg: {Routes:{} Hosts:0 LocalDomains:[]} 2024/10/14 13:49:17 dns: Set: {DefaultResolvers:[] Routes:{} SearchDomains:[] Hosts:0} 2024/10/14 13:49:17 LinkChange: major, rebinding. New state: interfaces.State{defaultRoute=eth0 ifs={docker0:[172.17.0.1/16] eth0:[192.168.2.53/24] virbr0:[192.168.122.1/24]} v4=true v6=false} 2024/10/14 13:49:17 monitor: ip rule deleted: {Family:2 DstLength:0 SrcLength:0 Tos:0 Table:52 Protocol:0 Scope:0 Type:1 Flags:0 Attributes:{Dst:<nil> Src:<nil> Gateway:<nil> OutIface:0 Priority:5270 Table:52 Mark:0 Pref:<nil> Expires:<nil> Metrics:<nil> Multipath:[]}} 2024/10/14 13:49:17 monitor: ip rule deleted: {Family:2 DstLength:0 SrcLength:0 Tos:0 Table:0 Protocol:0 Scope:0 Type:7 Flags:0 Attributes:{Dst:<nil> Src:<nil> Gateway:<nil> OutIface:0 Priority:5250 Table:0 Mark:16711680 Pref:<nil> Expires:<nil> Metrics:<nil> Multipath:[]}} 2024/10/14 13:49:17 monitor: ip rule deleted: {Family:2 DstLength:0 SrcLength:0 Tos:0 Table:253 Protocol:0 Scope:0 Type:1 Flags:0 Attributes:{Dst:<nil> Src:<nil> Gateway:<nil> OutIface:0 Priority:5230 Table:253 Mark:16711680 Pref:<nil> Expires:<nil> Metrics:<nil> Multipath:[]}} 2024/10/14 13:49:17 monitor: ip rule deleted: {Family:2 DstLength:0 SrcLength:0 Tos:0 Table:254 Protocol:0 Scope:0 Type:1 Flags:0 Attributes:{Dst:<nil> Src:<nil> Gateway:<nil> OutIface:0 Priority:5210 Table:254 Mark:16711680 Pref:<nil> Expires:<nil> Metrics:<nil> Multipath:[]}} 2024/10/14 13:49:16 magicsock: 0 active derp conns 2024/10/14 13:49:16 Rebind; defIf="eth0", ips=[192.168.2.53/24] 2024/10/14 13:49:16 onPortUpdate(port=57531, network=udp4) 2024/10/14 13:49:16 onPortUpdate(port=48521, network=udp6) 2024/10/14 13:49:16 wgengine: set DNS config again after major link change 2024/10/14 13:49:16 dns: OScfg: {} 2024/10/14 13:49:16 dns: Resolvercfg: {Routes:{} Hosts:0 LocalDomains:[]} 2024/10/14 13:49:16 dns: Set: {DefaultResolvers:[] Routes:{} SearchDomains:[] Hosts:0} 2024/10/14 13:49:16 LinkChange: major, rebinding. New state: interfaces.State{defaultRoute=eth0 ifs={docker0:[172.17.0.1/16] eth0:[192.168.2.53/24] virbr0:[192.168.122.1/24]} v4=true v6=false} 2024/10/14 13:49:16 monitor: RTM_DELROUTE: src=, dst=ff00::/8, gw=, outif=22, table=255 2024/10/14 13:49:16 monitor: RTM_DELROUTE: src=, dst=fe80::2053:daa7:46b6:5631/128, gw=, outif=22, table=255 2024/10/14 13:49:16 monitor: RTM_DELROUTE: src=, dst=fe80::/128, gw=, outif=22, table=255 2024/10/14 13:49:16 monitor: RTM_DELROUTE: src=, dst=fe80::/64, gw=, outif=22, table=254 2024/10/14 13:44:34 router: somebody (likely systemd-networkd) deleted ip rules; restoring Tailscale's 2024/10/14 13:44:34 magicsock: 0 active derp conns 2024/10/14 13:44:34 Rebind; defIf="eth0", ips=[192.168.2.53/24] 2024/10/14 13:44:34 onPortUpdate(port=57531, network=udp4) 2024/10/14 13:44:34 onPortUpdate(port=48521, network=udp6) 2024/10/14 13:44:34 wgengine: set DNS config again after major link change 2024/10/14 13:44:34 dns: OScfg: {} 2024/10/14 13:44:34 dns: Resolvercfg: {Routes:{} Hosts:0 LocalDomains:[]} 2024/10/14 13:44:34 dns: Set: {DefaultResolvers:[] Routes:{} SearchDomains:[] Hosts:0} 2024/10/14 13:44:34 LinkChange: major, rebinding. New state: interfaces.State{defaultRoute=eth0 ifs={docker0:[172.17.0.1/16] eth0:[192.168.2.53/24] virbr0:[192.168.122.1/24]} v4=true v6=false} 2024/10/14 13:44:34 monitor: ip rule deleted: {Family:2 DstLength:0 SrcLength:0 Tos:0 Table:52 Protocol:0 Scope:0 Type:1 Flags:0 Attributes:{Dst:<nil> Src:<nil> Gateway:<nil> OutIface:0 Priority:5270 Table:52 Mark:0 Pref:<nil> Expires:<nil> Metrics:<nil> Multipath:[]}} 2024/10/14 13:44:34 monitor: ip rule deleted: {Family:2 DstLength:0 SrcLength:0 Tos:0 Table:0 Protocol:0 Scope:0 Type:7 Flags:0 Attributes:{Dst:<nil> Src:<nil> Gateway:<nil> OutIface:0 Priority:5250 Table:0 Mark:16711680 Pref:<nil> Expires:<nil> Metrics:<nil> Multipath:[]}} 2024/10/14 13:44:34 monitor: ip rule deleted: {Family:2 DstLength:0 SrcLength:0 Tos:0 Table:253 Protocol:0 Scope:0 Type:1 Flags:0 Attributes:{Dst:<nil> Src:<nil> Gateway:<nil> OutIface:0 Priority:5230 Table:253 Mark:16711680 Pref:<nil> Expires:<nil> Metrics:<nil> Multipath:[]}} 2024/10/14 13:44:34 monitor: ip rule deleted: {Family:2 DstLength:0 SrcLength:0 Tos:0 Table:254 Protocol:0 Scope:0 Type:1 Flags:0 Attributes:{Dst:<nil> Src:<nil> Gateway:<nil> OutIface:0 Priority:5210 Table:254 Mark:16711680 Pref:<nil> Expires:<nil> Metrics:<nil> Multipath:[]}} 2024/10/14 13:44:33 magicsock: 0 active derp conns 2024/10/14 13:44:33 Rebind; defIf="eth0", ips=[192.168.2.53/24] 2024/10/14 13:44:33 onPortUpdate(port=57531, network=udp4) 2024/10/14 13:44:33 onPortUpdate(port=48521, network=udp6) 2024/10/14 13:44:33 wgengine: set DNS config again after major link change 2024/10/14 13:44:33 dns: OScfg: {} 2024/10/14 13:44:33 dns: Resolvercfg: {Routes:{} Hosts:0 LocalDomains:[]} 2024/10/14 13:44:33 dns: Set: {DefaultResolvers:[] Routes:{} SearchDomains:[] Hosts:0} 2024/10/14 13:44:33 LinkChange: major, rebinding. New state: interfaces.State{defaultRoute=eth0 ifs={docker0:[172.17.0.1/16] eth0:[192.168.2.53/24] virbr0:[192.168.122.1/24]} v4=true v6=false} 2024/10/14 13:44:33 monitor: RTM_DELROUTE: src=, dst=ff00::/8, gw=, outif=21, table=255 2024/10/14 13:44:33 monitor: RTM_DELROUTE: src=, dst=fe80::cdba:ce77:5f6f:6fc6/128, gw=, outif=21, table=255 2024/10/14 13:44:33 monitor: RTM_DELROUTE: src=, dst=fe80::/128, gw=, outif=21, table=255 2024/10/14 13:44:33 monitor: RTM_DELROUTE: src=, dst=fe80::/64, gw=, outif=21, table=254 2024/10/14 13:17:40 router: somebody (likely systemd-networkd) deleted ip rules; restoring Tailscale's 2024/10/14 13:17:40 magicsock: 0 active derp conns 2024/10/14 13:17:40 Rebind; defIf="eth0", ips=[192.168.2.53/24] 2024/10/14 13:17:40 onPortUpdate(port=57531, network=udp4) 2024/10/14 13:17:40 onPortUpdate(port=48521, network=udp6) 2024/10/14 13:17:40 wgengine: set DNS config again after major link change 2024/10/14 13:17:40 dns: OScfg: {} 2024/10/14 13:17:40 dns: Resolvercfg: {Routes:{} Hosts:0 LocalDomains:[]} 2024/10/14 13:17:40 dns: Set: {DefaultResolvers:[] Routes:{} SearchDomains:[] Hosts:0} 2024/10/14 13:17:40 LinkChange: major, rebinding. New state: interfaces.State{defaultRoute=eth0 ifs={docker0:[172.17.0.1/16] eth0:[192.168.2.53/24] virbr0:[192.168.122.1/24]} v4=true v6=false} 2024/10/14 13:17:40 monitor: ip rule deleted: {Family:2 DstLength:0 SrcLength:0 Tos:0 Table:52 Protocol:0 Scope:0 Type:1 Flags:0 Attributes:{Dst:<nil> Src:<nil> Gateway:<nil> OutIface:0 Priority:5270 Table:52 Mark:0 Pref:<nil> Expires:<nil> Metrics:<nil> Multipath:[]}} 2024/10/14 13:17:40 monitor: ip rule deleted: {Family:2 DstLength:0 SrcLength:0 Tos:0 Table:0 Protocol:0 Scope:0 Type:7 Flags:0 Attributes:{Dst:<nil> Src:<nil> Gateway:<nil> OutIface:0 Priority:5250 Table:0 Mark:16711680 Pref:<nil> Expires:<nil> Metrics:<nil> Multipath:[]}} 2024/10/14 13:17:40 monitor: ip rule deleted: {Family:2 DstLength:0 SrcLength:0 Tos:0 Table:253 Protocol:0 Scope:0 Type:1 Flags:0 Attributes:{Dst:<nil> Src:<nil> Gateway:<nil> OutIface:0 Priority:5230 Table:253 Mark:16711680 Pref:<nil> Expires:<nil> Metrics:<nil> Multipath:[]}} 2024/10/14 13:17:40 monitor: ip rule deleted: {Family:2 DstLength:0 SrcLength:0 Tos:0 Table:254 Protocol:0 Scope:0 Type:1 Flags:0 Attributes:{Dst:<nil> Src:<nil> Gateway:<nil> OutIface:0 Priority:5210 Table:254 Mark:16711680 Pref:<nil> Expires:<nil> Metrics:<nil> Multipath:[]}} 2024/10/14 13:09:24 health(warnable=no-derp-connection): error: Tailscale could not connect to the relay server with ID '0'. Your Internet connection might be down, or the server might be temporarily unavailable. 2024/10/14 13:09:14 EditPrefs: MaskedPrefs{RunWebClient=true} 2024/10/14 13:09:14 monitor: gateway and self IP changed: gw=192.168.2.1 self=192.168.2.53 2024/10/14 13:09:14 dns: OScfg: {} 2024/10/14 13:09:14 dns: Resolvercfg: {Routes:{} Hosts:0 LocalDomains:[]} 2024/10/14 13:09:14 dns: Set: {DefaultResolvers:[] Routes:{} SearchDomains:[] Hosts:0} 2024/10/14 13:09:14 wgengine: Reconfig: configuring DNS 2024/10/14 13:09:14 wgengine: Reconfig: configuring router 2024/10/14 13:09:14 wgengine: Reconfig: configuring userspace WireGuard config (with 0/0 peers) 2024/10/14 13:09:14 health(warnable=wantrunning-false): error: Tailscale is stopped. 2024/10/14 13:09:14 blockEngineUpdates(true) 2024/10/14 13:09:14 Switching ipn state NoState -> NeedsLogin (WantRunning=false, nm=false) 2024/10/14 13:09:14 Backend: logs: be:261d5ab28cc432fe964a8cc7e623eb0634093c8a8777e1f8f9fb8e133cded961 fe: 2024/10/14 13:09:14 magicsock: 0 active derp conns 2024/10/14 13:09:14 Rebind; defIf="eth0", ips=[192.168.2.53/24] 2024/10/14 13:09:14 onPortUpdate(port=57531, network=udp4) 2024/10/14 13:09:14 onPortUpdate(port=48521, network=udp6) 2024/10/14 13:09:14 LinkChange: major, rebinding. New state: interfaces.State{defaultRoute=eth0 ifs={docker0:[172.17.0.1/16] eth0:[192.168.2.53/24] virbr0:[192.168.122.1/24]} v4=true v6=false} 2024/10/14 13:09:14 Start 2024/10/14 13:09:14 got LocalBackend in 22ms 2024/10/14 13:09:14 unraid Taildrop support: symlink "Taildrop" not found 2024/10/14 13:09:14 logpolicy: using system state directory "/var/lib/tailscale" 2024/10/14 13:09:14 pm: migrating "_daemon" profile to new format 2024/10/14 13:09:14 Engine created. 2024/10/14 13:09:14 Starting network monitor... 2024/10/14 13:09:14 Clearing router settings... 2024/10/14 13:09:14 external route: up 2024/10/14 13:09:14 Bringing router up... 2024/10/14 13:09:14 Bringing WireGuard device up... 2024/10/14 13:09:14 Creating WireGuard device... 2024/10/14 13:09:14 magicsock: disco key = d:11f64823f9063c29 2024/10/14 13:09:14 onPortUpdate(port=57531, network=udp4) 2024/10/14 13:09:14 router: netfilter running in iptables mode v6 = true, v6filter = true, v6nat = true 2024/10/14 13:09:14 router: default choosing iptables 2024/10/14 13:09:14 router: using firewall mode pref 2024/10/14 13:09:14 onPortUpdate(port=48521, network=udp6) 2024/10/14 13:09:14 link state: interfaces.State{defaultRoute=eth0 ifs={docker0:[172.17.0.1/16] eth0:[192.168.2.53/24] virbr0:[192.168.122.1/24]} v4=true v6=false} 2024/10/14 13:09:14 dns: using *dns.directManager 2024/10/14 13:09:14 dns: using "direct" mode 2024/10/14 13:09:14 dns: [rc=unknown ret=direct] 2024/10/14 13:09:14 wgengine.NewUserspaceEngine(tun "tailscale1") ... 2024/10/14 13:09:13 dns: inotify addwatch: context canceled 2024/10/14 13:09:13 dns: using *dns.directManager 2024/10/14 13:09:13 dns: using "direct" mode 2024/10/14 13:09:13 dns: [rc=unknown ret=direct] 2024/10/14 13:09:13 logpolicy: using system state directory "/var/lib/tailscale" 2024/10/14 13:09:13 LogID: 261d5ab28cc432fe964a8cc7e623eb0634093c8a8777e1f8f9fb8e133cded961 2024/10/14 13:09:13 Program starting: v1.76.0-t6d996464a-gd75b8cb4b, Go 1.23.1: []string{"/usr/local/sbin/tailscaled", "-statedir", "/boot/config/plugins/tailscale/state", "-tun", "tailscale1"} 2024/10/14 13:09:13 logtail started 2024/10/14 13:09:10 logger closing down 2024/10/14 13:09:10 flushing log. 2024/10/14 13:09:10 monitor: ip rule deleted: {Family:2 DstLength:0 SrcLength:0 Tos:0 Table:52 Protocol:0 Scope:0 Type:1 Flags:0 Attributes:{Dst:<nil> Src:<nil> Gateway:<nil> OutIface:0 Priority:5270 Table:52 Mark:0 Pref:<nil> Expires:<nil> Metrics:<nil> Multipath:[]}} 2024/10/14 13:09:10 monitor: ip rule deleted: {Family:2 DstLength:0 SrcLength:0 Tos:0 Table:0 Protocol:0 Scope:0 Type:7 Flags:0 Attributes:{Dst:<nil> Src:<nil> Gateway:<nil> OutIface:0 Priority:5250 Table:0 Mark:16711680 Pref:<nil> Expires:<nil> Metrics:<nil> Multipath:[]}} 2024/10/14 13:09:10 monitor: ip rule deleted: {Family:2 DstLength:0 SrcLength:0 Tos:0 Table:253 Protocol:0 Scope:0 Type:1 Flags:0 Attributes:{Dst:<nil> Src:<nil> Gateway:<nil> OutIface:0 Priority:5230 Table:253 Mark:16711680 Pref:<nil> Expires:<nil> Metrics:<nil> Multipath:[]}} 2024/10/14 13:09:10 monitor: ip rule deleted: {Family:2 DstLength:0 SrcLength:0 Tos:0 Table:254 Protocol:0 Scope:0 Type:1 Flags:0 Attributes:{Dst:<nil> Src:<nil> Gateway:<nil> OutIface:0 Priority:5210 Table:254 Mark:16711680 Pref:<nil> Expires:<nil> Metrics:<nil> Multipath:[]}} 2024/10/14 13:09:10 monitor: RTM_DELROUTE: src=, dst=ff00::/8, gw=, outif=17, table=255 2024/10/14 13:09:10 monitor: RTM_DELROUTE: src=, dst=fe80::4287:9516:4387:f7b2/128, gw=, outif=17, table=255 2024/10/14 13:09:10 monitor: RTM_DELROUTE: src=, dst=fe80::/128, gw=, outif=17, table=255 2024/10/14 13:09:10 monitor: RTM_DELROUTE: src=, dst=fe80::/64, gw=, outif=17, table=254 2024/10/14 13:09:10 control: Client.Shutdown done. 2024/10/14 13:09:10 control: updateRoutine: exiting 2024/10/14 13:09:10 control: authRoutine: exiting 2024/10/14 13:09:10 control: mapRoutine: exiting 2024/10/14 13:09:10 control: client.Shutdown ... 2024/10/14 13:09:10 tailscaled got signal terminated; shutting down 2024/10/14 13:07:18 EditPrefs: MaskedPrefs{RunWebClient=true} 2024/10/14 13:05:17 magicsock: 0 active derp conns 2024/10/14 13:05:17 Rebind; defIf="eth0", ips=[192.168.2.53/24] 2024/10/14 13:05:17 onPortUpdate(port=55764, network=udp4) 2024/10/14 13:05:17 onPortUpdate(port=39665, network=udp6) 2024/10/14 13:05:17 wgengine: set DNS config again after major link change 2024/10/14 13:05:17 dns: OScfg: {} 2024/10/14 13:05:17 dns: Resolvercfg: {Routes:{} Hosts:0 LocalDomains:[]} 2024/10/14 13:05:17 dns: Set: {DefaultResolvers:[] Routes:{} SearchDomains:[] Hosts:0} 2024/10/14 13:05:17 LinkChange: major, rebinding. New state: interfaces.State{defaultRoute=eth0 ifs={docker0:[172.17.0.1/16] eth0:[192.168.2.53/24] virbr0:[192.168.122.1/24]} v4=true v6=false} 2024/10/14 13:04:43 health(warnable=no-derp-connection): error: Tailscale could not connect to the relay server with ID '0'. Your Internet connection might be down, or the server might be temporarily unavailable. 2024/10/14 13:04:33 dns: OScfg: {} 2024/10/14 13:04:33 dns: Resolvercfg: {Routes:{} Hosts:0 LocalDomains:[]} 2024/10/14 13:04:33 dns: Set: {DefaultResolvers:[] Routes:{} SearchDomains:[] Hosts:0} 2024/10/14 13:04:33 wgengine: Reconfig: configuring DNS 2024/10/14 13:04:33 wgengine: Reconfig: configuring router 2024/10/14 13:04:33 wgengine: Reconfig: configuring userspace WireGuard config (with 0/0 peers) 2024/10/14 13:04:33 monitor: gateway and self IP changed: gw=192.168.2.1 self=192.168.2.53 2024/10/14 13:04:33 blockEngineUpdates(true) 2024/10/14 13:04:33 health(warnable=wantrunning-false): error: Tailscale is stopped. 2024/10/14 13:04:33 Switching ipn state NoState -> NeedsLogin (WantRunning=false, nm=false) 2024/10/14 13:04:33 Backend: logs: be:261d5ab28cc432fe964a8cc7e623eb0634093c8a8777e1f8f9fb8e133cded961 fe: 2024/10/14 13:04:33 magicsock: 0 active derp conns 2024/10/14 13:04:33 Rebind; defIf="eth0", ips=[192.168.2.53/24] 2024/10/14 13:04:33 onPortUpdate(port=55764, network=udp4) 2024/10/14 13:04:33 onPortUpdate(port=39665, network=udp6) 2024/10/14 13:04:33 LinkChange: major, rebinding. New state: interfaces.State{defaultRoute=eth0 ifs={docker0:[172.17.0.1/16] eth0:[192.168.2.53/24] virbr0:[192.168.122.1/24]} v4=true v6=false} 2024/10/14 13:04:33 Start 2024/10/14 13:04:33 got LocalBackend in 26ms 2024/10/14 13:04:33 unraid Taildrop support: symlink "Taildrop" not found 2024/10/14 13:04:33 logpolicy: using system state directory "/var/lib/tailscale" 2024/10/14 13:04:33 pm: migrating "_daemon" profile to new format 2024/10/14 13:04:33 Engine created. 2024/10/14 13:04:33 Starting network monitor... 2024/10/14 13:04:33 Clearing router settings... 2024/10/14 13:04:33 external route: up 2024/10/14 13:04:33 Bringing router up... 2024/10/14 13:04:33 Bringing WireGuard device up... 2024/10/14 13:04:33 Creating WireGuard device... 2024/10/14 13:04:33 magicsock: disco key = d:d8e4845876d9139b 2024/10/14 13:04:33 onPortUpdate(port=55764, network=udp4) 2024/10/14 13:04:33 router: netfilter running in iptables mode v6 = true, v6filter = true, v6nat = true 2024/10/14 13:04:33 router: default choosing iptables 2024/10/14 13:04:33 router: using firewall mode pref 2024/10/14 13:04:33 onPortUpdate(port=39665, network=udp6) 2024/10/14 13:04:33 link state: interfaces.State{defaultRoute=eth0 ifs={docker0:[172.17.0.1/16] eth0:[192.168.2.53/24] virbr0:[192.168.122.1/24]} v4=true v6=false} 2024/10/14 13:04:33 dns: using *dns.directManager 2024/10/14 13:04:33 dns: using "direct" mode 2024/10/14 13:04:33 dns: [rc=unknown ret=direct] 2024/10/14 13:04:33 wgengine.NewUserspaceEngine(tun "tailscale1") ... 2024/10/14 13:04:32 dns: inotify addwatch: context canceled 2024/10/14 13:04:32 dns: using *dns.directManager 2024/10/14 13:04:32 dns: using "direct" mode 2024/10/14 13:04:32 dns: [rc=unknown ret=direct] 2024/10/14 13:04:32 logpolicy: using system state directory "/var/lib/tailscale" 2024/10/14 13:04:32 LogID: 261d5ab28cc432fe964a8cc7e623eb0634093c8a8777e1f8f9fb8e133cded961 2024/10/14 13:04:32 Program starting: v1.76.0-t6d996464a-gd75b8cb4b, Go 1.23.1: []string{"/usr/local/sbin/tailscaled", "-statedir", "/boot/config/plugins/tailscale/state", "-tun", "tailscale1"} 2024/10/14 13:04:32 logtail started 2024/10/14 13:04:29 logger closing down 2024/10/14 13:04:29 flushing log. 2024/10/14 13:04:29 monitor: ip rule deleted: {Family:2 DstLength:0 SrcLength:0 Tos:0 Table:52 Protocol:0 Scope:0 Type:1 Flags:0 Attributes:{Dst:<nil> Src:<nil> Gateway:<nil> OutIface:0 Priority:5270 Table:52 Mark:0 Pref:<nil> Expires:<nil> Metrics:<nil> Multipath:[]}} 2024/10/14 13:04:29 monitor: ip rule deleted: {Family:2 DstLength:0 SrcLength:0 Tos:0 Table:0 Protocol:0 Scope:0 Type:7 Flags:0 Attributes:{Dst:<nil> Src:<nil> Gateway:<nil> OutIface:0 Priority:5250 Table:0 Mark:16711680 Pref:<nil> Expires:<nil> Metrics:<nil> Multipath:[]}} 2024/10/14 13:04:29 monitor: ip rule deleted: {Family:2 DstLength:0 SrcLength:0 Tos:0 Table:253 Protocol:0 Scope:0 Type:1 Flags:0 Attributes:{Dst:<nil> Src:<nil> Gateway:<nil> OutIface:0 Priority:5230 Table:253 Mark:16711680 Pref:<nil> Expires:<nil> Metrics:<nil> Multipath:[]}} 2024/10/14 13:04:29 monitor: ip rule deleted: {Family:2 DstLength:0 SrcLength:0 Tos:0 Table:254 Protocol:0 Scope:0 Type:1 Flags:0 Attributes:{Dst:<nil> Src:<nil> Gateway:<nil> OutIface:0 Priority:5210 Table:254 Mark:16711680 Pref:<nil> Expires:<nil> Metrics:<nil> Multipath:[]}} 2024/10/14 13:04:29 monitor: RTM_DELROUTE: src=, dst=ff00::/8, gw=, outif=16, table=255 2024/10/14 13:04:29 monitor: RTM_DELROUTE: src=, dst=fe80::a5e8:4eba:3296:ddb2/128, gw=, outif=16, table=255 2024/10/14 13:04:29 monitor: RTM_DELROUTE: src=, dst=fe80::/128, gw=, outif=16, table=255 2024/10/14 13:04:29 monitor: RTM_DELROUTE: src=, dst=fe80::/64, gw=, outif=16, table=254 2024/10/14 13:04:29 control: Client.Shutdown done. 2024/10/14 13:04:29 control: authRoutine: exiting 2024/10/14 13:04:29 control: mapRoutine: exiting 2024/10/14 13:04:29 control: updateRoutine: exiting 2024/10/14 13:04:29 control: client.Shutdown ... 2024/10/14 13:04:29 tailscaled got signal terminated; shutting down 2024/10/14 13:04:20 EditPrefs: MaskedPrefs{RunWebClient=true} 2024/10/14 13:04:18 health(warnable=no-derp-connection): error: Tailscale could not connect to the relay server with ID '0'. Your Internet connection might be down, or the server might be temporarily unavailable. 2024/10/14 13:04:08 dns: OScfg: {} 2024/10/14 13:04:08 dns: Resolvercfg: {Routes:{} Hosts:0 LocalDomains:[]} 2024/10/14 13:04:08 dns: Set: {DefaultResolvers:[] Routes:{} SearchDomains:[] Hosts:0} 2024/10/14 13:04:08 wgengine: Reconfig: configuring DNS 2024/10/14 13:04:08 monitor: gateway and self IP changed: gw=192.168.2.1 self=192.168.2.53 2024/10/14 13:04:08 wgengine: Reconfig: configuring router 2024/10/14 13:04:08 wgengine: Reconfig: configuring userspace WireGuard config (with 0/0 peers) 2024/10/14 13:04:08 health(warnable=wantrunning-false): error: Tailscale is stopped. 2024/10/14 13:04:08 blockEngineUpdates(true) 2024/10/14 13:04:08 Switching ipn state NoState -> NeedsLogin (WantRunning=false, nm=false) 2024/10/14 13:04:08 Backend: logs: be:261d5ab28cc432fe964a8cc7e623eb0634093c8a8777e1f8f9fb8e133cded961 fe: 2024/10/14 13:04:08 magicsock: 0 active derp conns 2024/10/14 13:04:08 Rebind; defIf="eth0", ips=[192.168.2.53/24] 2024/10/14 13:04:08 onPortUpdate(port=47736, network=udp4) 2024/10/14 13:04:08 onPortUpdate(port=52893, network=udp6) 2024/10/14 13:04:08 LinkChange: major, rebinding. New state: interfaces.State{defaultRoute=eth0 ifs={docker0:[172.17.0.1/16] eth0:[192.168.2.53/24] virbr0:[192.168.122.1/24]} v4=true v6=false} 2024/10/14 13:04:08 Start 2024/10/14 13:04:08 got LocalBackend in 27ms 2024/10/14 13:04:08 unraid Taildrop support: symlink "Taildrop" not found 2024/10/14 13:04:08 logpolicy: using system state directory "/var/lib/tailscale" 2024/10/14 13:04:08 pm: migrating "_daemon" profile to new format 2024/10/14 13:04:08 Engine created. 2024/10/14 13:04:08 Starting network monitor... 2024/10/14 13:04:08 Clearing router settings... 2024/10/14 13:04:08 external route: up 2024/10/14 13:04:08 Bringing router up... 2024/10/14 13:04:08 Bringing WireGuard device up... 2024/10/14 13:04:08 Creating WireGuard device... 2024/10/14 13:04:08 magicsock: disco key = d:12de12f4fcab8cdb 2024/10/14 13:04:08 onPortUpdate(port=47736, network=udp4) 2024/10/14 13:04:08 router: netfilter running in iptables mode v6 = true, v6filter = true, v6nat = true 2024/10/14 13:04:08 router: default choosing iptables 2024/10/14 13:04:08 router: using firewall mode pref 2024/10/14 13:04:08 onPortUpdate(port=52893, network=udp6) 2024/10/14 13:04:08 link state: interfaces.State{defaultRoute=eth0 ifs={docker0:[172.17.0.1/16] eth0:[192.168.2.53/24] virbr0:[192.168.122.1/24]} v4=true v6=false} 2024/10/14 13:04:08 dns: using *dns.directManager 2024/10/14 13:04:08 dns: using "direct" mode 2024/10/14 13:04:08 dns: [rc=unknown ret=direct] 2024/10/14 13:04:08 wgengine.NewUserspaceEngine(tun "tailscale1") ... 2024/10/14 13:04:08 dns: inotify addwatch: context canceled 2024/10/14 13:04:08 dns: using *dns.directManager 2024/10/14 13:04:08 dns: using "direct" mode 2024/10/14 13:04:08 dns: [rc=unknown ret=direct] 2024/10/14 13:04:08 logpolicy: using system state directory "/var/lib/tailscale" 2024/10/14 13:04:08 LogID: 261d5ab28cc432fe964a8cc7e623eb0634093c8a8777e1f8f9fb8e133cded961 2024/10/14 13:04:08 Program starting: v1.76.0-t6d996464a-gd75b8cb4b, Go 1.23.1: []string{"/usr/local/sbin/tailscaled", "-statedir", "/boot/config/plugins/tailscale/state", "-tun", "tailscale1"} 2024/10/14 13:04:08 logtail started 2024/10/14 13:04:05 logger closing down 2024/10/14 13:04:05 flushing log. 2024/10/14 13:04:05 monitor: ip rule deleted: {Family:2 DstLength:0 SrcLength:0 Tos:0 Table:52 Protocol:0 Scope:0 Type:1 Flags:0 Attributes:{Dst:<nil> Src:<nil> Gateway:<nil> OutIface:0 Priority:5270 Table:52 Mark:0 Pref:<nil> Expires:<nil> Metrics:<nil> Multipath:[]}} 2024/10/14 13:04:05 monitor: ip rule deleted: {Family:2 DstLength:0 SrcLength:0 Tos:0 Table:0 Protocol:0 Scope:0 Type:7 Flags:0 Attributes:{Dst:<nil> Src:<nil> Gateway:<nil> OutIface:0 Priority:5250 Table:0 Mark:16711680 Pref:<nil> Expires:<nil> Metrics:<nil> Multipath:[]}} 2024/10/14 13:04:05 monitor: ip rule deleted: {Family:2 DstLength:0 SrcLength:0 Tos:0 Table:253 Protocol:0 Scope:0 Type:1 Flags:0 Attributes:{Dst:<nil> Src:<nil> Gateway:<nil> OutIface:0 Priority:5230 Table:253 Mark:16711680 Pref:<nil> Expires:<nil> Metrics:<nil> Multipath:[]}} 2024/10/14 13:04:05 monitor: ip rule deleted: {Family:2 DstLength:0 SrcLength:0 Tos:0 Table:254 Protocol:0 Scope:0 Type:1 Flags:0 Attributes:{Dst:<nil> Src:<nil> Gateway:<nil> OutIface:0 Priority:5210 Table:254 Mark:16711680 Pref:<nil> Expires:<nil> Metrics:<nil> Multipath:[]}} 2024/10/14 13:04:05 monitor: RTM_DELROUTE: src=, dst=ff00::/8, gw=, outif=15, table=255 2024/10/14 13:04:05 monitor: RTM_DELROUTE: src=, dst=fe80::af3b:3b6a:5359:8953/128, gw=, outif=15, table=255 2024/10/14 13:04:05 monitor: RTM_DELROUTE: src=, dst=fe80::/128, gw=, outif=15, table=255 2024/10/14 13:04:05 monitor: RTM_DELROUTE: src=, dst=fe80::/64, gw=, outif=15, table=254 2024/10/14 13:04:05 control: Client.Shutdown done. 2024/10/14 13:04:05 control: mapRoutine: exiting 2024/10/14 13:04:05 control: updateRoutine: exiting 2024/10/14 13:04:05 control: authRoutine: exiting 2024/10/14 13:04:05 control: client.Shutdown ... 2024/10/14 13:04:05 tailscaled got signal terminated; shutting down 2024/10/14 13:01:50 health(warnable=no-derp-connection): error: Tailscale could not connect to the relay server with ID '0'. Your Internet connection might be down, or the server might be temporarily unavailable. 2024/10/14 13:01:45 EditPrefs: MaskedPrefs{RunWebClient=true} 2024/10/14 13:01:40 dns: OScfg: {} 2024/10/14 13:01:40 dns: Resolvercfg: {Routes:{} Hosts:0 LocalDomains:[]} 2024/10/14 13:01:40 dns: Set: {DefaultResolvers:[] Routes:{} SearchDomains:[] Hosts:0} 2024/10/14 13:01:40 wgengine: Reconfig: configuring DNS 2024/10/14 13:01:40 wgengine: Reconfig: configuring router 2024/10/14 13:01:40 wgengine: Reconfig: configuring userspace WireGuard config (with 0/0 peers) 2024/10/14 13:01:40 health(warnable=wantrunning-false): error: Tailscale is stopped. 2024/10/14 13:01:40 blockEngineUpdates(true) 2024/10/14 13:01:40 Switching ipn state NoState -> NeedsLogin (WantRunning=false, nm=false) 2024/10/14 13:01:40 Backend: logs: be:261d5ab28cc432fe964a8cc7e623eb0634093c8a8777e1f8f9fb8e133cded961 fe: 2024/10/14 13:01:40 Start 2024/10/14 13:01:40 got LocalBackend in 277ms 2024/10/14 13:01:40 unraid Taildrop support: symlink "Taildrop" not found 2024/10/14 13:01:40 logpolicy: using system state directory "/var/lib/tailscale" 2024/10/14 13:01:40 pm: migrating "_daemon" profile to new format 2024/10/14 13:01:40 monitor: gateway and self IP changed: gw=192.168.2.1 self=192.168.2.53 2024/10/14 13:01:40 magicsock: 0 active derp conns 2024/10/14 13:01:40 Rebind; defIf="eth0", ips=[192.168.2.53/24] 2024/10/14 13:01:40 onPortUpdate(port=39361, network=udp4) 2024/10/14 13:01:40 onPortUpdate(port=35335, network=udp6) 2024/10/14 13:01:40 LinkChange: major, rebinding. New state: interfaces.State{defaultRoute=eth0 ifs={docker0:[172.17.0.1/16] eth0:[192.168.2.53/24] virbr0:[192.168.122.1/24]} v4=true v6=false} 2024/10/14 13:01:40 Engine created. 2024/10/14 13:01:40 Starting network monitor... 2024/10/14 13:01:40 Clearing router settings... 2024/10/14 13:01:40 Bringing router up... 2024/10/14 13:01:40 external route: up 2024/10/14 13:01:40 Bringing WireGuard device up... 2024/10/14 13:01:40 Creating WireGuard device... 2024/10/14 13:01:40 magicsock: disco key = d:b7d63fdda28d998f 2024/10/14 13:01:40 onPortUpdate(port=39361, network=udp4) 2024/10/14 13:01:40 router: netfilter running in iptables mode v6 = true, v6filter = true, v6nat = true 2024/10/14 13:01:40 router: default choosing iptables 2024/10/14 13:01:40 router: using firewall mode pref 2024/10/14 13:01:40 onPortUpdate(port=35335, network=udp6) 2024/10/14 13:01:40 link state: interfaces.State{defaultRoute=eth0 ifs={docker0:[172.17.0.1/16] eth0:[192.168.2.53/24] virbr0:[192.168.122.1/24]} v4=true v6=false} 2024/10/14 13:01:40 dns: using *dns.directManager 2024/10/14 13:01:40 dns: using "direct" mode 2024/10/14 13:01:40 dns: [rc=unknown ret=direct] 2024/10/14 13:01:40 wgengine.NewUserspaceEngine(tun "tailscale1") ... 2024/10/14 13:01:40 dns: inotify addwatch: context canceled 2024/10/14 13:01:40 dns: using *dns.directManager 2024/10/14 13:01:40 dns: using "direct" mode 2024/10/14 13:01:40 dns: [rc=unknown ret=direct] logpolicy.Config.Validate for /var/lib/tailscale/tailscaled.log.conf: config is nil logpolicy.ConfigFromFile /var/lib/tailscale/tailscaled.log.conf: open /var/lib/tailscale/tailscaled.log.conf: no such file or directory 2024/10/14 13:01:40 logpolicy: using system state directory "/var/lib/tailscale" 2024/10/14 13:01:40 LogID: 261d5ab28cc432fe964a8cc7e623eb0634093c8a8777e1f8f9fb8e133cded961 2024/10/14 13:01:40 Program starting: v1.76.0-t6d996464a-gd75b8cb4b, Go 1.23.1: []string{"/usr/local/sbin/tailscaled", "-statedir", "/boot/config/plugins/tailscale/state", "-tun", "tailscale1"} 2024/10/14 13:01:40 logtail started

Link to comment
On 9/19/2024 at 1:59 AM, EDACerton said:

Something is weird in your diagnostics... the "tailscale status" is blank, and I don't see any IPv4 entries from Tailscale in your routing table.

 

I'd try this:

  1. Run "Erase Configuration" in the Tailscale settings.
  2. Delete the server from the Tailscale admin console.
  3. Restart the server
  4. Log in again and re-advertise the routes.

Hey - following up on this. I did these in the exact order. 


Then, when advertising the routes I used
tailscale up --accept-routes=true --advertise-exit-node --advertise-routes=192.168.0.0/24,192.168.1.0/24 --accept-dns=true

Tailscale iOS has the Allow Local Network Access turned on — yet, I still cannot access local advertised routes from iOS. Is there a way to completely start from scratch (dunno - delete everything Tailscale, then start fresh on this Unraid server)?

Thank you and congrats for the partnership! 

Link to comment
2 hours ago, Raul Perte said:

Hey - following up on this. I did these in the exact order. 


Then, when advertising the routes I used
tailscale up --accept-routes=true --advertise-exit-node --advertise-routes=192.168.0.0/24,192.168.1.0/24 --accept-dns=true

Tailscale iOS has the Allow Local Network Access turned on — yet, I still cannot access local advertised routes from iOS. Is there a way to completely start from scratch (dunno - delete everything Tailscale, then start fresh on this Unraid server)?

Thank you and congrats for the partnership! 

Unless you have a specific reason to be setting --accept-routes and --accept-dns, you should turn both of those off. Those are rarely needed, and tend to cause problems if you haven't planned for using them.

 

Also, make sure that you're approving the routes in the Tailscale admin console after you advertise them.

Link to comment
32 minutes ago, EDACerton said:

Those are rarely needed, and tend to cause problems if you haven't planned for using them

Exactly this. And generally not on any of your LAN-based machines. I had to expressly advertise my LAN route and then use the route on the node I'm running on the US-based VPS. That gives it access to all the machines on the tailnet using my home LAN IPs, just as if it were sitting here connected to one of my local switches.

 

[borat] is very nice [/borat]

 

 

Link to comment

I'm pretty sure the DNS issues discussed above are the result of a bug in Tailscale - and I've found another (in general, not the plugin). At the very least it's some kind of edge-case that runs into a wall and needs a change to resolve the behavior.

 

I've set the Global DNS to my own private DNS resolver, which means when using Tailscale DNS, this global address is used for anything outside the tailnet. I also have set the search domain (base domain) to the FQDN I used for all my local machines/services (mandatory for Magic DNS).

 

Up above we saw this fail with outbound addresses. On my iPhone and Mac, outbound addresses however work. I can go to any outside domain without issue. The issue is I can't go to any host on my local FQDN. The lookups can never be resolved.

 

Specifying an address matching the base domain defined for the tailnet will not hit my local DNS resolver with the query.

 

If I change the base domain to anything else (something I'm not using), then these queries work as expected. This behavior isn't outlined in any documentation I've been able to find. What I've found indicates that specifying the base name means that when you query a local name without the base.tld, that base.tld will be added to it to make a FQDN. That's more or less what's said about that.

 

So if this search domain/base_url setting defines a domain to NOT query to global DNS, then I really don't see the point, nor how it's ever supposed to actually work unless you define all the hosts in your configuration.

 

One caveat with the latest testing. For the original DNS testing a few days ago I had been using Tailscale coordination servers, but now I'm using Headscale exclusively.

 

Link to comment

Hi, 

I am pretty new to this whole home server / unraid world, so I am sorry if this is a dumb question.

 

I have installed the tailscale plugin, registered the server and everything worked so far. I am able to connect the Unraid via my iPhone, the connection is somehow slow, but maybe thats normal?

 

The main reason why I wanted to use Tailscale is Jellyfin. I managed to get the connection in the Jellyfin App and with Infuse by using the Tailscale IP with Port 8096 for Jellyfin.

My library is loading on both Jellyfin and Infuse App, but the movies won't start. 

I also tried it on my iPad as i thought maybe the iPhone is the problem, but it does't work. 

 

I also tried the manage my jDownloader via Tailscale by using a hotspot from my iPhone to my Laptop.

It works but it's really very slow, so that might be the problem.

I don't know why it is that slow, cause I have 5G on my Phone and Speedtest says 150 Mbps. 

 

Is there anything I can do/try? 

Edited by Mito17
Update on jDownloader
Link to comment
10 hours ago, Espressomatic said:

I'm pretty sure the DNS issues discussed above are the result of a bug in Tailscale - and I've found another (in general, not the plugin). At the very least it's some kind of edge-case that runs into a wall and needs a change to resolve the behavior.

 

I've set the Global DNS to my own private DNS resolver, which means when using Tailscale DNS, this global address is used for anything outside the tailnet. I also have set the search domain (base domain) to the FQDN I used for all my local machines/services (mandatory for Magic DNS).

 

Up above we saw this fail with outbound addresses. On my iPhone and Mac, outbound addresses however work. I can go to any outside domain without issue. The issue is I can't go to any host on my local FQDN. The lookups can never be resolved.

 

Specifying an address matching the base domain defined for the tailnet will not hit my local DNS resolver with the query.

 

If I change the base domain to anything else (something I'm not using), then these queries work as expected. This behavior isn't outlined in any documentation I've been able to find. What I've found indicates that specifying the base name means that when you query a local name without the base.tld, that base.tld will be added to it to make a FQDN. That's more or less what's said about that.

 

So if this search domain/base_url setting defines a domain to NOT query to global DNS, then I really don't see the point, nor how it's ever supposed to actually work unless you define all the hosts in your configuration.

 

One caveat with the latest testing. For the original DNS testing a few days ago I had been using Tailscale coordination servers, but now I'm using Headscale exclusively.

 

If you think there's a bug in the Tailscale DNS implementation, that should go to https://github.com/tailscale/tailscale .

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...