[{"data":1,"prerenderedAt":165},["ShallowReactive",2],{"blog-post:\u002F2026-04-13-remote-raspberries":3},{"id":4,"title":5,"body":6,"description":156,"extension":157,"meta":158,"navigation":160,"path":161,"seo":162,"stem":163,"__hash__":164},"content\u002F2026-04-13-remote-raspberries.md","Remote connection to local network without public gateway",{"type":7,"value":8,"toc":149},"minimark",[9,14,18,22,25,29,32,36,133,136,145],[10,11,13],"h2",{"id":12},"task","Task",[15,16,17],"p",{},"Be able to connect to a remote local network.",[10,19,21],{"id":20},"purpose","Purpose",[15,23,24],{},"For example, to manage remote devices such as routers, WiFi access points, etc.",[10,26,28],{"id":27},"constraints","Constraints",[15,30,31],{},"There is no working host and no public IP.",[10,33,35],{"id":34},"my-solution","My Solution",[37,38,39,43,69,77,112,125],"ol",{},[40,41,42],"li",{},"Buy Raspberry Pi 4.",[40,44,45,46],{},"Prepare the device:",[47,48,49,56,59],"ul",{},[40,50,51,52],{},"Install Raspberry Pi OS Lite. ",[53,54,55],"em",{},"Lite is important to avoid unnecessary load since we don’t need a GUI (X server).",[40,57,58],{},"Make sure the device is connected to Raspberry Pi Connect so it’s always reachable as long as it has internet access.",[40,60,61,62,68],{},"Install Tailscale (",[63,64,65],"a",{"href":65,"rel":66},"https:\u002F\u002Ftailscale.com\u002F",[67],"nofollow",") and connect it to your account.",[40,70,71,72],{},"On-site setup:",[47,73,74],{},[40,75,76],{},"Connect the Raspberry Pi via Ethernet (RJ-45). I chose a wired connection to ensure stability and avoid connectivity loss.",[40,78,79,80,107],{},"The most important part:",[81,82,87],"pre",{"className":83,"code":84,"language":85,"meta":86,"style":86},"language-bash shiki shiki-themes github-light github-dark","tailscale up --advertise-routes=192.168.x.x\u002F24\n","bash","",[88,89,90],"code",{"__ignoreMap":86},[91,92,95,99,103],"span",{"class":93,"line":94},"line",1,[91,96,98],{"class":97},"sScJk","tailscale",[91,100,102],{"class":101},"sZZnC"," up",[91,104,106],{"class":105},"sj4cs"," --advertise-routes=192.168.x.x\u002F24\n",[47,108,109],{},[40,110,111],{},"This shares the local subnet with Tailscale clients, allowing access to devices like routers (e.g., 192.168.1.1) within that network.",[40,113,114,115],{},"In the Tailscale admin panel:",[47,116,117],{},[40,118,119,120,124],{},"Enable the route via ",[121,122,123],"strong",{},"Edit Route Settings → Subnet routes"," to grant access to the subnet.",[40,126,127,128],{},"Voilà!",[47,129,130],{},[40,131,132],{},"You can now connect to the local network where your Raspberry Pi is deployed.",[134,135],"hr",{},[15,137,138,141,144],{},[121,139,140],{},"P.S.",[142,143],"br",{},"\nIt’s not always 100% stable — sometimes devices need to be pinged within the Tailscale network so they can discover each other. But overall, the task is solved.",[146,147,148],"style",{},"html pre.shiki code .sScJk, html code.shiki .sScJk{--shiki-default:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .sZZnC, html code.shiki .sZZnC{--shiki-default:#032F62;--shiki-dark:#9ECBFF}html pre.shiki code .sj4cs, html code.shiki .sj4cs{--shiki-default:#005CC5;--shiki-dark:#79B8FF}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":86,"searchDepth":150,"depth":150,"links":151},2,[152,153,154,155],{"id":12,"depth":150,"text":13},{"id":20,"depth":150,"text":21},{"id":27,"depth":150,"text":28},{"id":34,"depth":150,"text":35},"Raspberry Pi and Tailscale to the rescue!","md",{"date":159},"2026-04-13",true,"\u002F2026-04-13-remote-raspberries",{"title":5,"description":156},"2026-04-13-remote-raspberries","qO1V3O1qYznZWwy3gw4WLAhexJHXSewV8WMCa1gVj4M",1776424209007]