首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >使用Apache反向代理的Softether VPN

使用Apache反向代理的Softether VPN
EN

Stack Overflow用户
提问于 2021-01-11 19:05:23
回答 1查看 274关注 0票数 1

我有一个运行redmine和Softether VPN的(azure)服务器。Apache httpd将请求分发给redmine和Softether。

Redmine正在工作,没有任何问题,但我无法使用VPN服务器。从Sothether客户端到服务器的连接可以正常工作,但我没有从DHCP获得有效的IP地址。在apache日志中,我收到以下警告:

代码语言:javascript
复制
AH03408: HTTPS: reusable backend connection is not empty: forcibly closed

在Softether日志中,我得到以下错误:

代码语言:javascript
复制
On the TCP Listener (Port 443), a Client (IP address ..., Host name "...", Port number 7736) has connected.
For the client (IP address: ..., host name: "...", port number: 7736), connection "CID-32-58873B8941" has been created.
SSL communication for connection "CID-32-58873B8941" has been started. The encryption algorithm name is "TLS_AES_256_GCM_SHA384".
Connection "CID-32-58873B8941" has been terminated.

Apache httpd-ssl.conf:

代码语言:javascript
复制
<VirtualHost *:443>
    ServerName ...
    
    SSLEngine On
    SSLProxyEngine On
    ProxyRequests Off
    ProxyPreserveHost Off
    
    ProxyPass / https://localhost/ timeout=3600
    ProxyPassReverse / https://localhost/
    
    SSLCertificateFile "${SRVROOT}/conf/cert.pem"
    SSLCertificateKeyFile "${SRVROOT}/conf/privkey.pem"
    SSLCertificateChainFile "${SRVROOT}/conf/fullchain.pem"
    
    ErrorLog "${SRVROOT}/logs/vpn-error.log"
    TransferLog "${SRVROOT}/logs/vpn-access.log"
    
    <FilesMatch "\.(cgi|shtml|phtml|php)$">
        SSLOptions +StdEnvVars
    </FilesMatch>
    <Directory "${SRVROOT}/cgi-bin">
        SSLOptions +StdEnvVars
    </Directory>
    
</VirtualHost> 

我到底做错了什么?

EN

回答 1

Stack Overflow用户

发布于 2021-04-23 19:04:03

当服务器位于某些本地反向代理之后时,UDP加速会出现问题。尝试在客户端禁用UDP加速。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/65665713

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档