go-http-tunnel icon indicating copy to clipboard operation
go-http-tunnel copied to clipboard

How many client for server ?

Open zoic21 opened this issue 4 years ago • 6 comments

Hello

I wonder how many client can be handle by server ? I work on project with about 10000 client. I imagine use multi server container server with ha proxy to redirect DNS on good server. Someone try this ?

Thank in advance for response.

zoic21 avatar Mar 04 '20 16:03 zoic21

Hello everyone, I would also like to know how many customers does tuneld support simultaneously?

faelp22 avatar Mar 11 '20 18:03 faelp22

When trying to connect two clients to a single server, the server rejects the second client. So apparently, only one client is supported.

Would it be possible to add support for multiple client?

I am looking for a solution where a public server acts as both a tunnel and a dispatcher for multiple servers that are behind a firewall. The dispatching could be done using virtual hostnames, or based on the authentification, but given a corresponding hook and basic support, I could implement the dispatch logic myself.

mperktold avatar Feb 10 '21 14:02 mperktold

Nevermind, multiple clients are supported, you just need to provide different hostnames and different certificates for each of them.

mperktold avatar Feb 11 '21 09:02 mperktold

Do we have to make multiple certificates in server side ?? And if yes how to make one that differs from the one that provided via command line in description ?

aliakbar-bsr avatar Mar 31 '21 12:03 aliakbar-bsr

@aliakbar-bsr no, you don't need multiple certificates on the server side. Every client needs to have it's own client certificate, that's all.

mperktold avatar Apr 02 '21 05:04 mperktold

That's nice I'm going to try it soon Thanks for your awesome works on this project

aliakbar-bsr avatar Apr 05 '21 08:04 aliakbar-bsr