haproxy 一端口多用(openvpn + ssh + https + http)(未经完整性测试)
来源:互联网 发布:sql union all 编辑:程序博客网 时间:2024/06/09 16:38
global log 127.0.0.1 local2 chroot /var/lib/haproxy pidfile /var/run/haproxy.pid maxconn 4000 user haproxy group haproxy daemon stats socket /var/lib/haproxy/stats#defaults # mode tcp# client timeout 2s# server timeout 2s # connect timeout 2sfrontend sslmode tcpbind 0.0.0.0:22 name frontend-ssloption tcplogtcp-request inspect-delay 2stcp-request content accept if { req.ssl_hello_type 1 }tcp-request content accept if HTTPuse_backend localnginx if HTTPuse_backend main-ssl if { req.ssl_hello_type 1 }use_backend openvpn if !{ req.ssl_hello_type 1 } !{ req.len 0 }use_backend ssh if !{ req.ssl_hello_type 1 } { req.len 0 }backend openvpnmode tcpserver openvpn-localhost 127.0.0.1:9000timeout server 100hbackend sshmode tcpserver ssh-localhost 127.0.0.1:60022timeout server 100hbackend main-sslmode tcpserver main-ssl 127.0.0.1:8443timeout server 100hbackend localnginxmode httpserver default 127.0.0.1:80timeout server 100hoption forwardfor header sdf1haiwaioption forwardfor
0 0
- haproxy 一端口多用(openvpn + ssh + https + http)(未经完整性测试)
- haproxy 单端口绑定ssh openvpn服务
- OpenVPN解密(一)
- FTP,ssh,HTTP,telnet,HTTPS用途及默认端口
- 让一个端口同时做两件事:http/https和ssh
- ftp ssh http telnet https服务及端口
- 把Web集群由HTTP转换为HTTPS(LVS+HAProxy+SSL)
- 第7章 确保Web安全的HTTPS (2)HTTP + 加密 + 认证 + 完整性保护 = HTTPS
- c#摄像头拍照(未经测试)
- 八皇后解法(未经过测试)
- WINAPI Http、Https 服务器操作(一)
- 80端口复用:利用haproxy把http流量和ssh流量分别转发到web服务器和ssh服务器
- 树莓派搭建Openvpn(一)
- HTTP+ 加密 + 认证 + 完整性保护 =HTTPS
- haproxy 中的http请求和https请求
- SSH HTTP HTTPS
- HTTPS 要比 HTTP 多用多少服务器资源?
- HTTP (3) HTTPs
- 流媒体协议介绍(rtp/rtcp/rtsp/rtmp/mms/hls)
- ORACLE使用技巧
- css按钮样式
- java设计模式
- LeetCode 232. Implement Queue using Stacks
- haproxy 一端口多用(openvpn + ssh + https + http)(未经完整性测试)
- linux 基本管理
- 索引与优化like查询
- LeetCode 496. Next Greater Element I
- java.lang.NoClassDefFoundError: Could not initialize class org.hibernate.cfg.AnnotationConfiguration
- 基于Sentinel(哨兵)搭建实现Redis高可用集群
- 使用Xcode GPU Frame Caputre教程
- iOS打包成 ipa包
- VMware Tools安装并共享文件夹设置