If you want LAN devices to remotely access resources in the Tailnet, you need to enable “Allow Remote Access LAN” and approve the routes in the Tailscale Admin Console.
Otherwise, remote Tailscale nodes won’t have a return route to send responses back.
Also, this option does not affect internet access for LAN devices.
Noted, but for this issue, I’m not trying to access my LAN devices remotely nor trying to have my LAN devices access Tailnet resources. I suppose we can leave this part out from the conversation since I don’t think its relevant to the issue I’m running into.
I may have had my initial cause with the 9910/9920 blackhole rules incorrectly diagnosed. So I will start describing my issue from scratch to see if you can assist on what’s actually going on here as I am clearly confused now.
I’m running into a scenario whenever my Tailscale is turned ON, my local LAN devices (connected to the router) internet stop working. The moment I turn OFF Tailscale, my local LAN devices can connect to the internet again.
I’ve tried playing around with the sequence and listed my rule list.
# Initial State: Tailscale is turned Off.
# Internet on my local LAN devices works.
root@GL-BE9300:~# ip rule list
0: from all lookup local
1: from all iif lo lookup 16800
800: from all lookup 9910 suppress_prefixlength 0
1099: from all fwmark 0x80000/0xc0000 lookup main
1101: not from all fwmark 0x8000/0xc000 lookup 8000
6000: from all fwmark 0x8000/0xf000 lookup main
9000: not from all fwmark 0/0xf000 lookup main
9910: not from all fwmark 0/0xf000 blackhole
9920: from all iif br-guest blackhole
9920: from all iif br-lan blackhole
9920: from all iif wgserver blackhole
32766: from all lookup main
32767: from all lookup default
# After deleting rule 9910/9920, Tailscale is still left OFF.
# My local LAN devices are still able to connect to the internet.
# Then I turn Tailscale back ON.
# My local LAN devices are still able to connect to the internet.
# My ip rule list looks like below with 9910/9920 still removed.
root@GL-BE9300:~# ip rule list
0: from all lookup local
0: from all to 192.168.8.0/24 lookup main
0: from all to 136.x.y.z/20 lookup main
1: from all iif lo lookup 16800
50: from all to 100.100.100.100 lookup 52
800: from all lookup 9910 suppress_prefixlength 0
1099: from all fwmark 0x80000/0xc0000 lookup main
1101: not from all fwmark 0x8000/0xc000 lookup 8000
5210: from all fwmark 0x80000/0xff0000 lookup main
5230: from all fwmark 0x80000/0xff0000 lookup default
5250: from all fwmark 0x80000/0xff0000 unreachable
5270: from all lookup 52
6000: from all fwmark 0x8000/0xf000 lookup main
9000: not from all fwmark 0/0xf000 lookup main
32766: from all lookup main
32767: from all lookup default
# I reboot the Router, and the 9910/9920 returns with Tailscale still ON.
# The 9910/9220 rules are restored after the reboot.
# My local LAN devices are unable to connect to the internet upon the reboot.
root@GL-BE9300:~# ip rule list
0: from all lookup local
0: from all to 192.168.8.0/24 lookup main
0: from all to 136.x.y.z/20 lookup main
1: from all iif lo lookup 16800
50: from all to 100.100.100.100 lookup 52
800: from all lookup 9910 suppress_prefixlength 0
1099: from all fwmark 0x80000/0xc0000 lookup main
1101: not from all fwmark 0x8000/0xc000 lookup 8000
5210: from all fwmark 0x80000/0xff0000 lookup main
5230: from all fwmark 0x80000/0xff0000 lookup default
5250: from all fwmark 0x80000/0xff0000 unreachable
5270: from all lookup 52
6000: from all fwmark 0x8000/0xf000 lookup main
9000: not from all fwmark 0/0xf000 lookup main
9910: not from all fwmark 0/0xf000 blackhole
9920: from all iif br-guest blackhole
9920: from all iif br-lan blackhole
9920: from all iif wgserver blackhole
32766: from all lookup main
32767: from all lookup default
# I then turn Tailscale OFF.
# My local LAN devices are able to connect to the internet again.
root@GL-BE9300:~# ip rule list
0: from all lookup local
1: from all iif lo lookup 16800
800: from all lookup 9910 suppress_prefixlength 0
1099: from all fwmark 0x80000/0xc0000 lookup main
1101: not from all fwmark 0x8000/0xc000 lookup 8000
6000: from all fwmark 0x8000/0xf000 lookup main
9000: not from all fwmark 0/0xf000 lookup main
9910: not from all fwmark 0/0xf000 blackhole
9920: from all iif br-guest blackhole
9920: from all iif br-lan blackhole
9920: from all iif wgserver blackhole
32766: from all lookup main
32767: from all lookup default
# I then turn Tailscale back ON.
# My local LAN devices cannot connect to the internet.
root@GL-BE9300:~# ip rule list
0: from all lookup local
0: from all to 192.168.8.0/24 lookup main
0: from all to 136.x.y.z/20 lookup main
1: from all iif lo lookup 16800
50: from all to 100.100.100.100 lookup 52
800: from all lookup 9910 suppress_prefixlength 0
1099: from all fwmark 0x80000/0xc0000 lookup main
1101: not from all fwmark 0x8000/0xc000 lookup 8000
5210: from all fwmark 0x80000/0xff0000 lookup main
5230: from all fwmark 0x80000/0xff0000 lookup default
5250: from all fwmark 0x80000/0xff0000 unreachable
5270: from all lookup 52
6000: from all fwmark 0x8000/0xf000 lookup main
9000: not from all fwmark 0/0xf000 lookup main
9910: not from all fwmark 0/0xf000 blackhole
9920: from all iif br-guest blackhole
9920: from all iif br-lan blackhole
9920: from all iif wgserver blackhole
32766: from all lookup main
32767: from all lookup default
# I then turn Tailscale back OFF.
# My local LAN devices are able to connect to the internet again.
root@GL-BE9300:~# ip rule list
0: from all lookup local
1: from all iif lo lookup 16800
800: from all lookup 9910 suppress_prefixlength 0
1099: from all fwmark 0x80000/0xc0000 lookup main
1101: not from all fwmark 0x8000/0xc000 lookup 8000
6000: from all fwmark 0x8000/0xf000 lookup main
9000: not from all fwmark 0/0xf000 lookup main
9910: not from all fwmark 0/0xf000 blackhole
9920: from all iif br-guest blackhole
9920: from all iif br-lan blackhole
9920: from all iif wgserver blackhole
32766: from all lookup main
32767: from all lookup default
Any idea?