Take the 2-minute tour ×

I have an application that needs to send and receive traffic on a certain TCP port, say 5000. The server component uses port 6000.

Is there any software that will allow me to "TCP bridge" these two ports together?

I'd like to run this TCP bridge on either a AWS or Azure hosted platform. Since I know C# pretty well a .NET solution would be ideal.

share|improve this question
Uhm, just setup a NAT between the server and client? –  Zoredache Oct 25 '12 at 17:16
Which operating system? –  Massimo Oct 25 '12 at 17:18
@Zoredache Can a NAT translate incoming data on port 80 and forward it to port 8080? –  makerofthings7 Oct 26 '12 at 16:13
@Massimo Windows preferred, C# language preferred –  makerofthings7 Oct 26 '12 at 16:14
NAT operates on the packet headers. Depending on implementation it can change either the source/destiation addresses and ports. –  Zoredache Oct 26 '12 at 16:37
add comment

closed as off topic by Bryan, Sirex, HopelessN00b, EEAA, John Gardeniers Oct 26 '12 at 8:45


1 Answer

Balance is a simple but powerful generic tcp proxy with round robin load balancing and failover mechanisms. Its behaviour can be controlled at runtime using a simple command line syntax.

Bridge ports:

balance 5000 6000

(Connections to the local port 5000 are forwarded to port 6000)

Or bridge to a port on a remote server

balance 5000 remote:6000

Or round robin between localhost:6000, remotehost:6000 and otherhost:6000

balance 5000 localhost:6000 remotehost:6000 otherhost:6000
share|improve this answer
add comment
