hi @ all我有一个通过TCP通信到带有SSL的Synology NAS的问题。我要将Synology Drive Client连接到NAS,并且Drive Client软件通过TCP端口6690与NAS通信。当我尝试连接时,我得到一个500错误。没有SSL它工作得很好,但是Synology使用自己的不可信证书加密通信,这不应该是解决方案。
构建:
Internet| -->|路由器(Port forwarding 6690)| --> |nginx| --> |NAS(192.168.10.2)
Nginx:
stream{ log_format log_stream '$remote_addr [$time_local] $protocol [$ssl_preread_server_name] [$ssl_preread_alpn_protocols]' '$status $bytes_sent $bytes_received $session_time'; access_log /var/log/nginx/access.log log_stream; ssl_certificate /etc/letsencrypt/live/{mydomain}/fullchain.pem; ssl_certificate_key /etc/letsencrypt/live/{mydomain}/privkey.pem; ssl_protocols TLSv1.1 TLSv1.2; server { listen 6690 ssl; proxy_pass 192.168.10.2:6690;