a year ago
How can I use cloudflare zero trust “access” feature with Railway?
Can someone help me with this or a link to docs?
11 Replies
a year ago
have a look at the guide on the template overview -
a year ago
Yes, I have already gotten that setup.
a year ago
But even with that the URL is publicly accessible with the tunnel attached to a sub-domain.
a year ago
Cloudflare has this another feature called Zero trust Access.
Where it allows more fine grain control over the access.
I was hoping to make that work with private service deployed on railway.
a year ago
if you followed the guide you would be using the private network already?
a year ago
When you say "private network", do you mean making the service private without any domain name attached to it?
Then yes.
a year ago
then im not quite understanding the issue?
a year ago
In the cf-tunnel railway template, it says
Click Public Hostname → Click Add a public hostname.
For example: I have a domain example.com
and I add a sub-domain by connecting it to private service on railway.
like pvt-srv.example.com
a year ago
now, even this sub-domain is publicly accessible, abit in-directly via tunnel from cloudflare.
a year ago
what I was looking for is that I wanted to limit access the url/domain itself.
as to who can access it
a year ago
that would need to be done in cloudflare