Skip to content

Latest commit

 

History

History
39 lines (31 loc) · 1.45 KB

File metadata and controls

39 lines (31 loc) · 1.45 KB

Exit Node Script Walkthrough

This project provides an automated way to set up a Tailscale exit node and subnet router using Docker on Linux or Raspberry Pi.

Files Created

  • setup_tailscale.sh: The main installation and configuration script.

Setup Instructions

  1. Prepare the Script: Ensure the script is executable:

    chmod +x setup_tailscale.sh
  2. Run the Script: Execute with root privileges:

    sudo ./setup_tailscale.sh
  3. Follow the Prompts:

    • IP Forwarding: The script will enable this for you.
    • Auth Key: Provide a Tailscale Auth Key if you have one, or use the Login URL provided during execution.
    • Subnets: Select which local subnets you want to advertise to your Tailnet.
    • Exit Node: Confirm if you want this node to act as an Exit Node.

Critical Final Steps (Admin Console)

After the script completes, you must manually approve the routes:

  1. Open the Tailscale Admin Console.
  2. Find your new machine (e.g., tailscale-node).
  3. Click the "..." menu or machine name -> Edit route settings.
  4. Enable "Exit node".
  5. Enable the checkboxes for your Advertised routes (subnets).

Monitoring and Health

  • Check Status: Run ./setup_tailscale.sh --health.
  • View Logs: Run docker logs -f tailscale-node.
  • Restart: The container is set to always restart, so it will persist across reboots.