3 ms·
Not even 30 mins ago I set up WireGuard to connect to a PG instance on Fly. I expected this to be a headache but it took less than 5 mins to download WG, gener
by pier25 5y ago
Not even 30 mins ago I set up WireGuard to connect to a PG instance on Fly.
I expected this to be a headache but it took less than 5 mins to download WG, generate the conf with the fly CLI and paste it into WG. Done.
- tptacek 5y agoYou shouldn't have to do this unless you want to (for instance, to make a permanent WireGuard connection) --- you can just run `flyctl proxy` to set up a connection to 5432/tcp.
- pier25 5y agoReally? I followed the instructions in their docs and that's what was recommended. https://fly.io/docs/reference/postgres/#connecting-to-postgres-from-outside-fly https://fly.io/docs/reference/postgres/#connecting-to-postgr... Also, wouldn't I need to install Wireguard anyway to use fly proxy?
- tptacek 5y agoNope! That's what this whole post is about. :)