Hi All,
I have setup a Cloudflare Tunnel and add and TCP application to access our internal database. We are using this command : cloudflared access tcp --hostname internal-mysql.company.com
--url localhost:3306.
When it ran for the first time, there will be a pop up in the browser tab and there is two possibilities , correct me if I am wrong :
- If we have already login into Cloudflare, we will be shown Approve or Deny
- If we don’t login to Cloudflare, we will be redirected to a page where we can enter our email address and we will get an OTP.
After that, I can connect to my internal database using localhost:3306. But next time when I run this command again : cloudflared access tcp --hostname internal-mysql.company.com
--url localhost:3306, I don’t need to authenticate anymore. My question is : is there any way to logout/invalidate the login token? so for every new cloudflared session, we need to authenticate again.
Please advise. Thank you.
Regards,
Albert