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

   Á¶È¸ 1668   Ãßõ 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 270/5695
2014-05   5073518   Á¤ÀºÁØ1
2015-12   1610590   ¹é¸Þ°¡
2023-02   1668   ¹üÀÌ´Ô
2024-02   1668   ³Ø¿÷¿¬½À
2023-11   1668   À¯È£ÁØ
2022-12   1668   ¹Ú¹®Çü
2021-10   1668   È­¶õ
2023-02   1668   ±è¿µ±â
2024-08   1668   µÎ¸®¾È
2023-04   1668   »ßµ¹À̽½ÇÄÀÌ
2024-01   1668   ´ÙÇÔ²²½Î´Ù±¸
2021-11   1668   EYESSHOT
2022-07   1668   Çã¿ì´ë
2021-05   1669   ¼öÁÝÀº¸Á°í
2024-05   1669   ¾ðÁ¨°¡´Â
2024-02   1669   Áö±¸º°
2024-03   1669   NiteFlite9
2022-11   1669   Caroline
2023-12   1669   ·Îº§¸®¾Æ
2023-01   1669   µå¸®µ¥ÀÌ
2023-02   1669   DeepSky
2023-12   1669   alpha099