allowlist for public domain connection to database
jaronoff97
HOBBYOP

2 years 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

2 years ago

N/A


jaronoff97
HOBBYOP

2 years ago

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


2 years ago

why do you need the database public at all?


jaronoff97
HOBBYOP

2 years 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

2 years ago

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


2 years ago

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


jaronoff97
HOBBYOP

2 years ago

yep, sounds good. thank you!


2 years ago

!s


Status changed to Solved brody over 1 year ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...