Forum Discussion

HA13029's avatar
HA13029
Icon for Nimbostratus rankNimbostratus
Nov 19, 2017

Wildcard VS with DG, HTTP Profile, SSL Profile and SNAT

Hi all,

I have to implement a VS listening on different port (wildcard). The pool needs to be selected based defined datagroup (around 200). Within the irule, I need to select ASM policy (enabled or disabled) , the HTTP profile, SNAT (disable enabled with specific one) and ssl profile

when CLIENT_ACCEPTED {

switch [TCP::local_port]

{

    DATAGROUP_TCP_22 { pool P1 }

    DATAGROUP_TCP_2221 { pool P2 }
    etc        
    default { reject }

    }

}

What's next ??

Regards,

HA

  • Why are you trying to do this as a wildcard VS. All you are doing is creating complexity and a management/maintenance nightmare.

     

    Create separate VSs for each defined TCP port, and make your configurations on each virtual.