How do I configure SMS Auth for Access Applications?

I'm trying to setup access control for a subdomain (test.mydomain.com) and I want to setup the SMS authentication, so whenever someone visits that subdomain, they're required to authenticate with a valid phone number. However, I'm not sure how to configure SMS auth.
14 Replies
Idle
Idle4d ago
i don't think sms authentication is an option for zt, and it shouldn't be
Emil
EmilOP4d ago
It is an option for access application I'm able to choose it I just dont know how to configure it
Cyb3r-Jak3
Cyb3r-Jak34d ago
Do you mean the authentication method drop down in an Access Policy?
Emil
EmilOP4d ago
Yes
Cyb3r-Jak3
Cyb3r-Jak34d ago
That only works if you have a supported identity provider set up. All it does it checks that the user used MFA at the IDP https://developers.cloudflare.com/cloudflare-one/policies/access/mfa-requirements/
Emil
EmilOP4d ago
Alright thank you I have another question how would I setup an access application policy for an ssh tunnel ?
Cyb3r-Jak3
Cyb3r-Jak34d ago
There is nothing different about an access policy for SSH. The only difference is that under the access application you can enable browser rendering
Emil
EmilOP4d ago
Well right now I have an email access policy for my proxmox subdomain, so when someone visits, they're required to enter their email, enter the code they get on their email and then they gain access to the proxmox interface. However, with SSH that doesn't work, I've tried setting up email authentication the exact same way for my ssh subdomain but no authentication is required when I try to ssh in.
Emil
EmilOP4d ago
Yes I've done all of that
Cyb3r-Jak3
Cyb3r-Jak34d ago
So if you run cloudflared access ssh --hostname <your hostname> on the client it works?
Emil
EmilOP4d ago
It prints out: SSH-2.0-OpenSSH_9.2p1 Debian-2+deb12u3
Cyb3r-Jak3
Cyb3r-Jak34d ago
Then you are going through access and should see it in your access logs
Emil
EmilOP4d ago
I am going through access? What do you mean Oh wait I got it to work
Want results from more Discord servers?
Add your server