Forum Discussion
TFL-Support_913
Jan 27, 2011Nimbostratus
Data Group Lists for iRules
Hi everyone,
We need to create an iRule to allow access to a VIP from only a certain list of IP addresses. I can see how to do this by creating an iRule that references an IP Address Data Gr...
Chris_Klomp_115
Mar 13, 2013Nimbostratus
I'm new here and am trying to create the ip list to be imported as a data-group.
This is my file:
6.6.16.197/32 := "host1",
6.1.17.133/32 := "host 2",
Trying to import it with the GUI, I get error:
01070626:3: The IP data group external file (/config/filestore/.stage_d/502_d/Common_d/data_group_d/:Common:banned-ip-list.file_1) has an invalid format, line: 1.
Then I tried to load it from the command line and I get:
[chris@LTM-51:Active] ~ tmsh create /sys file data-group banned-ip-list.file separator ":=" source-path /var/class/banned-ip-list.dg type address Syntax Error: invalid property value "type":"address"
[chris@LTM-51:Active] ~ tmsh create /sys file data-group banned-ip-list.file separator ":=" source-path /var/class/banned-ip-list.dg type ip curl: (3) malformed Unexpected Error: Failed! exit_code (3). [chris@LTM-51:Active] ~
What am I doing wrong?
Rgds, Chris.Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects