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

   Á¶È¸ 1744   Ãßõ 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 278/5707
2014-05   5138220   Á¤ÀºÁØ1
2015-12   1672890   ¹é¸Þ°¡
2023-01   1745   µå¸®µ¥ÀÌ
2022-04   1745   °Ü¿ï³ª¹«
2024-04   1745   ¹ÎÁöÆÄÆÄ
2022-07   1745   ·¹¸ð³ª¸À·¹¸ó
2023-03   1745   ¸ÞÅ»Æ÷½º
2024-02   1745   wallash
2021-12   1745   chanelacy
2021-12   1746   ÀÌÈñÁÖ
2022-07   1746   È£¹Ú°í±¸¸¶
2024-03   1746   ¸í¶û
2021-11   1746   ±¹»ê¸Á°í
2022-08   1746   ¹Ú¹®Çü
2024-01   1746   INMD
2023-06   1747   ¸®Àå´Ô
2024-02   1747   Rich
2022-04   1747   ¸®Å°ÆÄ¿ï·¯
2022-03   1747   ´ÏÆ÷
2022-08   1747   »ßµ¹À̽½ÇÄÀÌ
2023-09   1747   ¾×ü¿ÍÄÄÇ»ÅÍ
2022-07   1747   ³ªÀ©