Forum Discussion

Rodrigo_Mori_13's avatar
Apr 06, 2018

Irules to redirect fqdn to node specific.

Hi, guys

 

I have the following scenario that I need to implement in the enterprise.

 

I wanted to use only one VS (192.168.150.143) for several applications, one fqdn for each specific application.

 

How could the irules do this?

 

Note The servers (nodes) are different, I have each the specific application.

 

 

1 Reply

  • This should have your answers.

    TLS server_name extension based routing without clientssl profile

    Or if you intent to offload at the LTM, you gotta go with SNI method. With the Irule of below pool member selection logic.

    when HTTP_REQUEST {    
        switch [string tolower [HTTP::host]] {        
            "app1.meuteste.com.br" { pool poll_app member 192.168.150.10 443 }            
            "app2.meuteste.com.br" { pool poll_app member 192.168.150.20 443 }            
            "app3.meuteste.com.br" { pool poll_app member 192.168.150.30 443 }
            "app4.meuteste.com.br" { pool poll_app member 192.168.150.40 443 }
        }
    }