[英]Reverse proxy OpenVpn using Haproxy or Nginx
i was wondering how it is possible to reverse proxying an openvpn connection using the SNI, i've read so much about that: HERE and HERE 我想知道如何使用SNI反向代理openvpn连接,我已经学到了很多:在这里和在这里
I've tried any kind of solution, using haproxy and using nginx, but it seems that my client (i've tried Tunnelblick and a simple openvpn client on linux) does not send the SNI information 我尝试过使用haproxy和nginx进行任何形式的解决方案,但是似乎我的客户端(我已经尝试过Tunnelblick和Linux上的简单openvpn客户端)没有发送SNI信息
Basically, this is the result that i want to achieve: 基本上,这是我想要实现的结果:
vpn1.app.com ─┬─► *.app.com dns -> nginx at my public ip ─┬─► vpn1 at 10.0.0.3
vpn2.app.com ─┤ ├─► vpn2 at 10.0.0.4
vpn3.app.com ─┘ └─► vpn3 at 10.0.0.5
Any thoughts? 有什么想法吗?
[UPDATE] I've searched for all these days and looked around for a solution, but, in conclusion, it seems that OpenVpn, in it's architecture, isn't sending around to the server the SNI indication, so, no chance to do that. [更新]这些天来,我一直在搜索并寻找解决方案,但总而言之,似乎OpenVpn在其体系结构中并未向服务器发送SNI指示,因此,没有机会这样做那。
I'll use the classic old-school way: NAT and a proper public dns to manage them. 我将使用经典的老式方法:NAT和适当的公共DNS来管理它们。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.