New Thing: connect your Fly org to Tailscale

Hey folks! If you’ve ever wanted to acess your Fly.io private network via Tailscale you are in luck! Check out GitHub - fly-apps/tailscale-router to play with it today and keep an eye out for an official integration maybe coming soon :wink:

Let me know how it works for folks!

7 Likes

We’re wanting to prevent an application on Fly from being publicly accessible. Our company is using Tailscale VPN for other purposes. Would this allow us to connect to our Fly instance over HTTPS provided we’re connected to Tailscale?

1 Like

Yep! This will be a bit more fleshed out in terms of an official integration soon also.

2 Likes

@DAlperin Thanks! This is really helpful!

Hi there!

was this official integration ever released? I can’t find anything about it, so is it still planned? :sweat_smile:

:wave: I am not Fly, but I did get our Fly apps talking to Crunchy Bridge over Tailscale recently, and I was in touch with folks at Fly and Tailscale about it at the time.

I’m not aware of anything official, integration-wise. For my setup it just came down to using iptables-legacy (since Fly doesn’t have kernel-level support for nftables).

1 Like

For posterity: Fly has nftables support now! Our setup no longer uses the iptables-legacy workaround.

1 Like

I would love to hear about any updates on the official Fly + Tailscale integrations.

I’m going through the existing processes, and there are a few things that are lacking for me.

  1. I’d really like to “turn on tailscale” and then be able to HTTPS to my internal applications. So https://my-app.internal - specifically note that I’m not adding the internal port like 8080, etc.
  2. Since the current process has you stand up a machine, and that machine could recycle at some point, I’d like to make sure that the DNS that I configure in Tailscale won’t change on me in the future.
  3. The tailscale documentation is good for how to add TS to a fly app - but that bypasses your excellent load balancing, and that’s a big part of what I was really excited about.

TY, and looking forward to any updates. Even if its a “No”. :slight_smile:

@drusellers you can use tsnet (or tsnet-serve if your app isn’t written in Go) to put expose your Fly app on your Tailscale tailnet.