Tailnet Gateway

Getting started

Install Firmware v3.0.2, complete the guided setup, then enable only the roles you need. Use a computer for USB installation; a phone or computer can handle the setup afterwards.

Before you start

1. Install, or update an existing gateway

New board

Use Connect & Install in your browser or the Easy Install package. Choose the new-device installation and confirm the erase only when you intend to initialize the board. Restart after installation, then continue below.

Already configured?

Back up first and follow Updating. For an existing 3.x gateway, prefer System → Firmware to keep its settings and previous OTA image. Versions 2.x and 1.x have their own migration steps.

A factory/new-device erase deletes settings and the Tailnet identity. It is not needed for an ordinary update or a Wi-Fi connection problem. Follow the current installer instructions rather than commands for the older partition layout.

2. Complete the guided first-boot setup

  1. On a genuinely unconfigured board, join ESP32-Tailnet-Setup-XXXX. Its suffix identifies the board. Stay connected if your phone reports that this open setup network has no Internet.
  2. Open the setup notification. If it does not appear, browse to http://192.168.4.1/.
  3. When prompted, press BOOT once to pair. Alternatively, read the current eight-digit code from the USB serial console at 115200 baud and enter it in the setup page.
  4. Create your administrator password: at least eight characters. There is no default admin password.
  5. Select the available uplink. For Wi-Fi, choose your 2.4 GHz network, enter its password and press Test connection. The setup Wi-Fi may briefly disconnect during the test.
  6. Configure Tailscale or Headscale, or skip it and join later where the chosen uplink permits. Choose your roles and a separate password for the gateway's protected Wi-Fi/recovery network.
  7. Review the summary, save and restart. Rejoin your home Wi-Fi and use the address shown by setup. The displayed .local name is another option when your LAN and client support mDNS.

Choose your language in the setup page. The First boot guide explains pairing, uplinks and finding the gateway after restart. An update preserving an existing configuration does not reopen this initial setup network.

3. Join your Tailnet

If you skipped registration, open the Tailscale page. Set the gateway's name and registration credentials; Headscale also needs your control-server URL. Keep auth keys private and scoped to the intended role.

Review node expiry and approve only the routes or exit-node role you intend to use in your Tailnet administration. See Headscale, Subnet routing and Exit-node roles.

4. Start with one useful role

5. Check the path you actually need

If something does not work

Keep a configuration backup. If home Wi-Fi becomes unavailable, use the protected recovery network configured during setup; it is distinct from the open first-boot network. Administer the HTTP Web UI from a trusted LAN or over the Tailnet. Follow Device recovery or Troubleshooting before considering a factory reset.

Repository reference: Getting started.