0

My task is to address different servers via secure socket connections at the destination.

But the problem is that you can not specify different target servers over normal socket connections. Also, there is no way, as with HTTP(S) via header, to provide additional information.

I thought of a SOCKS5 server at the destination, which can then address the destination servers. The proxy server could be NGINX, if it supports SOCKS5.

See my example diagram

Usually such a proxy lies with the client. Theoretically, it should also work if the SOCKS5 proxy is located at the receiver in the target network.

Can this work or are there other solutions? If possible without programming. Only with configuration.

  • Use TLS SNI for hostname? – Tero Kilkanen Apr 13 '18 at 4:40
  • Are you trying to load-balance? – MTG Apr 13 '18 at 7:41
  • @MTG No load-balance. The devices behind are smart devices, which are controlled over own comands over TCP/socket. – egmontr Apr 14 '18 at 5:47
  • @Tero Kilkanen I will take a look into TLS SNI. I think the Dante server can do what I want. I have to try. – egmontr Apr 14 '18 at 5:51

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.