Does anyone experience problems when trying to port forwarding for more than 3 ports?
I use the following code to do SSH Tunneling,
ForwardedPortLocal fowardPort = new ForwardedPortLocal("127.0.0.1", 22100, "10.112.125.42", 22000); sshClient.AddForwardedPort(fowardPort); ForwardedPortLocal fowardPort2 = new ForwardedPortLocal("127.0.0.1", 16100, "10.112.125.42", 16000); sshClient.AddForwardedPort(fowardPort2); ForwardedPort fowardPort3 = new ForwardedPort("127.0.0.1", 18500, "10.112.125.42", 18000); shClient.AddForwardedPort("127.0.0.1", 18500, "10.112.125.42", 1800); fowardPort.Start(); fowardPort2.Start(); fowardPort3.Start();
The weird thing is I can do any combination for 2 forward port, (start any 2 forwardPorts)
But if I enable all 3, the port forwarding suddenly does work.
I wonder is this cause by performance drop(if there any) when starting 3 port forwarding?