Forum Discussion
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
- youssef1
Cumulonimbus
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
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com