Crash course in setting up Tailscale on your servers

Поделиться
HTML-код
  • Опубликовано: 14 янв 2025
  • Tailscale is an awesome service for people that run their own servers. I usually hate dealing with networking but using Tailscale makes it a lot easier. If you combine it with Kamal you can have nice DNS names to deploy to. (No one paid me to make this, I just like the service lol)
    --------------------------------
    Reference Links
    Tailscale: tailscale.com/
    --------------------------------
    Check out devscoach.com to learn more about Rails and self-hosting.

Комментарии • 2

  • @8ball54
    @8ball54 9 месяцев назад +1

    Hey Sam, thanks for these videos! They've been super helpful. Question on this: once you've enabled Tailscale SSH on your server, does that mean you can tighten down the SSH firewall rule to be specific to Tailscale's IPs? I'm referring to the firewall rules set up in your previous video on Hetzner. In my case, it'll be digital ocean. And additionally, does this mean you can also remove the keypair that was initially installed on the server?
    Thanks!

    • @devscoach
      @devscoach  9 месяцев назад +1

      Actually the great thing about Tailscale is you don't need to worry about allowing their IPs. Tailscale completely takes over the SSH connections so you should be able to safely block all other connections with your firewall. Essentially its like you are all on the same network.
      Yes you can delete the ssh keys!
      More info is here:
      tailscale.com/kb/1181/firewalls
      tailscale.com/learn/ssh-security-best-practices-protecting-your-remote-access-infrastructure#simplifying-ssh-security-with-tailscale