haproxy WEB ¹æ½Ä°ú SSL-SNI TCP ¶ó¿ìÆà ¹æ½Ä.

   Á¶È¸ 1591   Ãßõ 1    

haproxy에서 도메인 네임 기반으로 프록시가 가능하긴 합니다.


http 의 경우 


tcp인 경우 SSL-SNI 이용해서




예시
defaults
 maxconn 1000
 mode tcp
 log global
 option dontlognull # bind *:443 ssl crt .
 timeout http-request 5s
 timeout connect 5000
 timeout client 2000000 # ddos protection
 timeout server 2000000 # stick-table type ip size 100k expire 30s store conn_cur

frontend foo_ft_https
        mode tcp
        option tcplog
        bind *:443

tcp-request inspect-delay 5s
tcp-request content accept if { req_ssl_hello_type 1 }

acl whoer req.ssl_sni -i whoer.net
use_backend recap if whoer


        default_backend main

backend main
        mode tcp
        option tcplog

 server server1 private.server.net:1013

backend recap
        mode tcp
        option tcplog

 server server1 private.server.net:1005
ªÀº±Û Àϼö·Ï ½ÅÁßÇÏ°Ô.


QnA
Á¦¸ñPage 5453/5698
2014-05   5039723   Á¤ÀºÁØ1
2015-12   1576171   ¹é¸Þ°¡
2023-04   1594   chotws
2024-07   1594   Äð»È½á
2024-03   1594   ¸ô¶ó¸Ç
. (6)
2023-09   1594   pwater
2023-09   1594   ±×¸°
2023-06   1594   ¹Ì¼ö¸Ç
2022-11   1593   ¸¶À½ÀÌ°¥´ë
2021-05   1593   ±èµ¿Çõ1
2024-05   1593   1gt34
2024-05   1593   ¿µ»êȸ»ó
2022-04   1593   ·¹³ª
2024-03   1593   ¹¹µçÆȾƿä
2023-01   1593   dateno1
2024-01   1593   eu4you
2022-04   1593   YODA34
2024-01   1593   Á¤¹«Çö
2021-10   1593   À¯È£ÁØ
2024-06   1592   ºí·ç¸ð¼Ç
2023-09   1592   ¹Ì´ã
2021-11   1592   jack33