Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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

Questions on Server Fault are expected to relate to server, networking, or related infrastructure administration within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the 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? – LamonteCristo Oct 26 '12 at 16:13
@Massimo Windows preferred, C# language preferred – LamonteCristo 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

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.