A Tour of tsnet

Pick a lesson. It opens in your browser: your code compiles and runs in this tab, so there is nothing to wait for and nothing to stop afterwards. Your edits stay saved in this browser. You will need your own Tailscale auth keys, as the lessons explain.

Hello, World Tailnet!In your browser · Lesson 01

Share it, don't expose it

Sharing a service shouldn't mean opening it to the internet. Make your Go program a private, secure node on your own network.

IdentityIn your browser · Lesson 02

Know who's calling

Your app needs to know who is calling, but you don't want to build a login system. Ask the tailnet who is on the other end.

IdentityIn your browser · Lesson 03

One program, two identities

One program often plays several roles and this can be difficult to manage, but not on your tailnet!

AccessIn your browser · Lesson 04

Decide who talks to whom

Not every device should reach every other one. Control who can connect to what with tags and grants.

AccessRead in your browser · Lesson 05

Access rules outside your code

Who may see or do what shouldn't be hardcoded. Move those rules out of your code into the network policy.

Going publicIn your browser · Lesson 06

Put your app on the internet

Your app works on your tailnet, but you want to show it to someone outside it. Add HTTPS, then go public with Funnel.

Going publicIn your browser · Lesson 07

Public guests, private everything else

Visitors from the internet get a guest game, while everything else stays private.

Clean-upIn your browser · Lesson 08

Jobs that vanish when done

Temporary jobs shouldn't leave stale devices in your admin console. Run a node that Tailscale removes when it goes offline.

Clean-upIn your browser · Lesson 09

Leave no keys behind

A crashed job can leave keys and devices behind. Keep keys in memory and log out on shutdown so nothing is left.

CIRead in your browser · Lesson 10

Tailscale in CI/CD

Run the whole game in a throwaway API-only tailnet from a GitHub Actions workflow on Linux and Windows runners.

Coming soon