Forum Discussion

Trevor_Peterson's avatar
Trevor_Peterson
Icon for Nimbostratus rankNimbostratus
Jul 21, 2005

iControl to limit access based on Source IP address

Hello,

 

 

New to this, so please bare w/ me if this seems a simple request.

 

 

I have a customer that would like to lock down access to their application based on the Source IP. They have provided me w/ the list of allowed IPs.

 

 

What should I base the rule on? IP::client_addr?

 

 

What would the rule look like? Does anyone have a good template?

 

 

DevCentral seems like a great forum, but a bit overwhelming to a newb. Where's a good starting point for learning to write iRules?

 

 

Thanks in advance.
  • You might want to post this over at the appropriate iRules forum. iControl is our management web service API.

     

     

    As for how you would implement an iRule, it will depend on which version of the product you are running 4.x, or 9.x. You will want to work based off the client ip. IP::client_addr is a 9.x TCL variable, and you posted this in the iControl 4.x forum which implies you are on a v4.x version of BIG-IP.

     

     

    If you post this question to the appropriate iRules forum, we can help you out.

     

     

    As for getting started, first read the BIG-IP reference guide's section on iRules. Then browse the docs and tips. Then check out the forums for examples of what you are looking to do. Odds are it has been addressed at least once before.

     

     

    -Joe