I need assistance with either setting up STunnel on my server and my clients server. I just need the correct configuration for everything to function per below:
1. I will have STunnel client on 5+ customer machines, that will need to make "localhost:389" available to me.
2. All STunnel clients will connect to my STunnel Server via "MY-PUBLIC-DOMAIN:443" and need to authenticate certificate or something
3. Each client will be assigned a local port on my STunnel Server (ex. 1001,1002,1003,etc)
4. Another server on my network will send LDAP requests to the STunnel Server via these custom ports, and the requests need to be securely sent back through the tunnel to each clients LDAP server.
The usage example above has been tested using [login to view URL] however I do not want to proxy through another network or service. The server component will exist only on my network.
Other similar services for reference:
[login to view URL]
[login to view URL]
Please see the attached image also for reference
I think I can help you with this setup.
One thing that I am not sure will work exactly as you would like is step 2 - all remote authentication on one port, port 443. As far as I know each remote client needs a separate authentication port to be assigned a separate localhost port. But I may be wrong and will dig into the docs a bit deeper if this is the only way it will work for you.
Best regards,
Tomislav Crnicki
Croatia, Europe