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

   Á¶È¸ 1575   Ãßõ 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 5438/5692
2014-05   5018177   Á¤ÀºÁØ1
2015-12   1553502   ¹é¸Þ°¡
2023-11   1576   Á¨¼­¹ö
. (6)
2023-09   1576   pwater
03-07   1576   chotws
2022-04   1575   Çã´Ïº£¾î
2021-05   1575   ±èµ¿Çõ1
2022-09   1575   Á¤ÀǼ®
04-08   1575   ¿µ»êȸ»ó
2021-11   1575   jack33
2023-01   1575   ½ÅÀº¿Ö
2023-02   1575   ¹üÀÌ´Ô
07-20   1575   Á¤ÀºÁØ1
03-25   1575   »õ³»±â
2021-12   1575   µðÁöÀ¯
02-06   1575   piedPiper
2023-06   1574   sadzxczxc03
2022-01   1574   L2½ºÀ§Ä¡
2023-03   1574   ÀÌÈñÁÖ
2021-06   1574   Ä«·½
2023-03   1574   httpd
2021-12   1574   Çí»çÄÚ¾î