The nginx 1.9 comes with built-in tcp proxing. However, I'm facing the port exhaustion problem on this. Unlike HTTP, it is quite common for TCP servers to hold a lot of socket connections while each connection is nearly idle (e.g. push server). I tuned nginx but the concurrent tcp connections is limited to ~60k as there are no more ports available, while as a matter of fact, I do have multiple netby cfan8 - Ideas and Feature Requests