Hikvision Server Port 8000 Argo Tunnel

Hello friends,

I am having a problem, i cannot connect the tcp server port 8000 which is used by hikvision cameras to argo tunnel. It says data transmission error in the client app(andriod IVMS-4200) Other ports works well for example http/80 for web admin panel.

I am doing this because i am using 4g LTE router that has the infamous CGNAT.

It is working with ngrok but as cloudflare has better network capacity, i want to switch here.

My config.yaml

tunnel: hikvision
ingress:
 - hostname: domain.com
   service: tcp://192.168.100.100:8000
 - service: http_status:404

Unfortunately the client app does not provide meaningful error codes :frowning:

Any help will be greatly appreciated.

Hello @adityakc369 ,

Ingress rules allow to proxy arbitrary tcp traffic but it must be paired with cloudflared access on the client side. I suspect you are not doing that since you are referring to a “client app on Android”.

The better solution for this is to rely on network routing that supports arbitrary TCP transparently: https://developers.cloudflare.com/cloudflare-one/tutorials/warp-to-tunnel
This requires using WARP on the client side but once it is set up (and with the right Split Tunnel config to make sure 192.168.100.100 is sent to Cloudflare) then it will handle traffic to your private origins (including Cloudflare Tunnel) transparently.

2 Likes