Forum Discussion

soymanue's avatar
soymanue
Icon for Nimbostratus rankNimbostratus
Jun 05, 2013

iRule to limit traffic based on hostname pattern

Hello

 

Is it possible to build an iRule that allows incoming RDP connections just to certain hosts whose DNS name matches certain pattern?

 

We want to allow connections to PCs whose DNS name contains "-V-" or starts with ""VB"

 

So, when the client tries to connect to an IP Address, the LTM should query DNS for inverse resolution and check if the resolved name contains "-V-" or starts with "VB"

 

 

Thanks

 

2 Replies

  • So, when the client tries to connect to an IP Address, the LTM should query DNS for inverse resolution and check if the resolved name contains "-V-" or starts with "VB"have you tried RESOLV::lookup?

     

     

    RESOLV::lookup wiki

     

    https://devcentral.f5.com/wiki/irules.resolv__lookup.ashx