Hello to every one,
I am new to Cloudflare and this is my first post so don’t be too hard on me
I have a server named: good.server.com
. On this server, I have run an application that is waiting for clients on TCP port 35510. So client1 is connecting to tcp://good.server.com
:35510 directly. But what I want is to avoid a direct connection to the server (there are lots of reasons, but this time let’s just say I don’t want to expose my server IP).
So I moved my DNS to Cloudflare, then I created a tunnel with Cloudflare ZeroTrust. The tunnel has started with no problem (the web server works through this tunnel without issues). Then I added a public hostname cloud.server.com
that points to tcp://localhost
:35510.
And now, client2 is trying to connect to tcp://cloud.server.com
:35510 but each time I am receiving the error message: “timeout”.
I tried to set up firewall rules(ZeroTrust → Gateway → Firewall Policies → Network) to allow port 35510 and enabling ZeroTrust → Settings → Firewall → Proxy = Enabled
But no changes were observed. Still: timeout.
Please help me to solve this problem.
Thanks
And take a look at my drawing. Should be more or less self-explaining.