Cloudflare zero trust access

2 years ago

How can I use cloudflare zero trust “access” feature with Railway?

Can someone help me with this or a link to docs?

Closed

11 Replies

2 years ago

have a look at the guide on the template overview -


2 years ago

Yes, I have already gotten that setup.


2 years ago

But even with that the URL is publicly accessible with the tunnel attached to a sub-domain.


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


2 years ago

if you followed the guide you would be using the private network already?


2 years ago

When you say "private network", do you mean making the service private without any domain name attached to it?

Then yes.


2 years ago

then im not quite understanding the issue?


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


2 years ago

now, even this sub-domain is publicly accessible, abit in-directly via tunnel from cloudflare.


2 years ago

what I was looking for is that I wanted to limit access the url/domain itself.

as to who can access it


2 years ago

that would need to be done in cloudflare


Welcome!

Sign in to your Railway account to join the conversation.

Loading...