Forum Discussion

Ronnie_Munoz's avatar
Ronnie_Munoz
Icon for Nimbostratus rankNimbostratus
Sep 19, 2019

Adding a source IP address restriction to an existing LTM policy rule using tmsh

I have a rule in a policy that restricts access to a URL based on the incoming source IP. I've tried both add and modify using a tmsh command to add an additional IP address but both have resulted in wiping out the list of IPs and only leaving the new address.

What is the correct method to append, or add, an IP address to the list via tmsh? We're on version 13.1.1.4

1 Reply

  • Hi,

     

    The most easy solution is to use LTM-POLICY and Data-Group.

    The LTM policy use Datagroup for IP restriction.

     

    modify DG is simple using tmsh or API rest.

     

    Keep me in touch if this response can help you.

     

    regards