#Issue with cloudflare access allowing my tcp service to other machines.

15 messages · Page 1 of 1 (latest)

umbral crane
#

Hello!
I successfully set up a cloudflare tunnel that goes from my m2 machine to m3 and m4. However i was told to use cloudflare access tokens in order to make everything more secure. The tunnels have been provided the user and key required however as soon as i deploy the application i seem to be getting issues.

Jul 23 16:39:58 ZeanoxM4 cloudflared[822]: 2024-07-23T15:39:58Z ERR failed to connect to origin error="websocket: bad handshake" originURL=https://example.mydomain.dev/

Is there anything i am missing from the application i need to select or change? As well as that when the connection is active it completely bricks every single machine and makes them unusable.

Any help would be greatly appriciated!

umbral lotus
# umbral crane Hello! I successfully set up a cloudflare tunnel that goes from my m2 machine to...

e cloudflare access tokens
You mean service tokens? I'm not sure how they would work with that, they require headers on the request to bypass access

failed to connect to origin error="websocket: bad handshake" originURL=https://example.mydomain.dev/
something's blocking the websocket entirely. Either a misconfigured policy to try to enforce tokens or something else on your website (like the waf, etc). Does it work without the policy?
As well as that when the connection is active it completely bricks every single machine and makes them unusable.
What command are you using?

umbral crane
umbral lotus
umbral crane
umbral lotus
umbral crane
umbral lotus
umbral crane
umbral lotus
umbral crane
#

Ahh i understand, im assuming this wont be the case for ssh access?

#

As id like to confirm both

umbral lotus
umbral crane
#

So next thing id be setting up is allowing certain users ssh access with the use of there warp device and a login

umbral crane