Outbound IP addresses

gpt
PRO

a year ago

Hi there,

I have a Flask app running on Railway, and I'm basically looking to restrict access to my database to a specific whitelisted set of IPs in order to improve security.

Does Railway have a list of outbound IPs that I can whitelist? I did some searching but was unable to find a range of IPs to whitelist. Alternatively, am I able to assign a specific static IP to a service?

Thank you :)

1 Replies

a year ago

Railway does not offer static IPs at this time, all IPs are dynamic, so while there is a list of ranges, it's a long list and it would be absolutely trivial to spoof the IPs in that list.

Simply remove public access by removing the TCP Proxy and have your service connect to it via the private network.


Outbound IP addresses - Railway Help Station