allowlist for public domain connection to database
jaronoff97
HOBBYOP

a year ago

Is it possible to only allow certain IPs to connect to the database via the public URL? I don't want to keep my DB publicly accessible, can I use something like a VPN to get into the network privately?

Solved

8 Replies

jaronoff97
HOBBYOP

a year ago

N/A


jaronoff97
HOBBYOP

a year ago

Is this the only way to do this today? https://docs.railway.com/tutorials/set-up-a-tailscale-subnet-router I think yes…


a year ago

why do you need the database public at all?


jaronoff97
HOBBYOP

a year ago

i don't want it to public, i want it private. but it sets a public TCP proxy domain by default and i want to remove that


jaronoff97
HOBBYOP

a year ago

i would like to still be able to connect to thedb from my local machine to run migrations


a year ago

then yes you will want the tailscale subnet router, or simply have your deployment run the migrations on start


jaronoff97
HOBBYOP

a year ago

yep, sounds good. thank you!


a year ago

!s


Status changed to Solved brody over 1 year ago


Loading...