C# Connect through Bastion

Hello,

I’m attempting to connect to a clustered setup through a Bastion for development purposes. I can connect to the HTTP API just fine by tunneling through the master node. What is the trick to setting up a tunnel that the C# API can connect to? If I try using the master node only, it connects successfully but fails when I try to read a stream with a HEARTBEAT TIMEOUT error. Any pointers in the right direction would be greatly appreciated.

Sincerely