Spriggan

Where technology meets nature - cybersecurity insights, code, and forest adventures

How to Update Subnet Routes in Tailscale

14 Dec 2025 · 2 min · tailscale · networking

When working with private VPC resources (like an AWS OpenSearch endpoint) you may find that devices on your Tailnet can’t reach them even though they’re connected to the same VPC as the VPN server. The issue is often missing subnet routes.

This guide walks through how to advertise and approve subnet routes in Tailscale so your devices can access private network resources.

This example specifically came from me and another engineer troubleshooting our VPN connection to OpenSearch but the concepts more or less would be the same in other instances.

1. Identify the Network You Need Access To

If you can reach your target resource (e.g., OpenSearch, EC2, etc) from your VPN server but not from your local machine, the issue is likely subnet routing.

Example:

2. Check Your VPC Subnets

Determine which CIDR blocks your environment uses. You'll have to spelunk around in aws to find these under one of the network config tabs for the resource trying to be accessed.

For example:

You’ll need to advertise these routes from the VPN server so Tailnet clients can reach them.

3. Advertise the Required Routes

On the VPN server (already connected to your Tailnet), run:

# For production
sudo tailscale set --advertise-routes=10.0.0.0/16

# For VPN + Dev combined
sudo tailscale set --advertise-routes=172.31.0.0/16,172.30.0.0/16

If you try to advertise overlapping routes (e.g., multiple /16s covering similar space), Tailscale may report a conflict, only advertise the specific subnets you need.

4. Approve the Routes in the Tailscale Admin Console

After advertising, the routes will appear as “pending” until approved.

Go to:

[Tailscale Admin Console → Machines → Your VPN Server → Routes]

Approve each route you want other devices on the Tailnet to use.

Reference: Tailscale Docs – Subnet Routers

5. Verify Access

Once routes are approved:

  1. Ensure your local machine is connected to the Tailnet.
  2. Try accessing the resource again
curl --location --request GET 'https://<your-opensearch-endpoint>/profiles/_search' \
  --header 'Content-Type: application/json' \
  --header 'Authorization: Basic <your-auth-key>' \
  --data '{ "size": 100, "sort": [ { "os_created_at": "desc" } ] }' -vvv

If the routes are set up correctly, your local machine should now connect successfully.

operations

  1. Artifact Based Docker Deployments

    Stop building on servers.

  2. How to Update Subnet Routes in Tailscale

    When working with private VPC resources (like an AWS OpenSearch endpoint) you may find that devices on your Tailnet can’t reach them even though they’re connected to the…

  3. Tailscale Pulumi Implementation Guide

    You want to automate the deployment of VMs that will automatically join a Tailscale network on first boot. No SSH keys to distribute, no extra exposed ports, no manual…

building

  1. Setting Up Dockerized PostgreSQL with Multi-Tenant Support and Automated Migrations

    Imagine creating a single application that serves dozens, hundreds, or even thousands of different clients, each with their own private data that remains completely…

  2. github pages revamp plan

    This document outlines the steps that were taken to migrate the cyberpunk-blog project to the existing GitHub Pages repository (jaidenamari.github.io) while preserving…

  3. blog post about setting up blogs

    I created a new github account, mainly because I wanted to rebrand my online presence and to have a clear trackable start. While my old git has 1000's of commits, it's…

the woods

  1. in the woods

    Spent the evening in the mountain valley. The stream ran by swift and succulent as always in the spring. We have been building a lot in a short time there. I'm ready to…

  2. hello moon

    Trying something new. Documenting what I do.

projects

  1. Mikro ORM Multi-Tenant

    A multi-tenant application framework for building scalable and secure applications.

  2. Artifact Container Deployment Pipeline

    A immutable artifact container deployment pipeline using GitHub Actions.

  3. motes

    Pictures drawn in dots, by code: a still grid of thresholds, seeded noise, shapes, and a plate that renders to canvas, PNG and SVG. Parts of this site are drawn with it.

about

  1. Spriggan

    Security · Full-Stack · API · DevOps · Cyber · Garden · Cook · Hike · Forage · Explore

  2. Jaiden Garrett

    Trained in cybersecurity, fluent in production systems. I build and harden distributed web applications from database to deploy, step willingly into complex living…