Resolving TCP Delays Caused by Mikrotik Static Route in a Tailscale Subnet Setup

Recently, I transitioned from using Zerotier as VPN gateway on a Mikrotik router to setting up a Tailscale subnet router on an LXC within my LAN. The process was relatively straightforward, with one exception: since the VPN gateway was no longer on the router itself, I had to add a static route to direct traffic for the destination network (192.168.21.0/24) to the Tailscale LXC (192.168.20.10). While this setup worked, I encountered a significant problem: every TCP connection took 8 seconds to initiate....

January 20, 2024 · 2 min · Ondrej Borysek