Forum Discussion
neil_t_66364
Nimbostratus
Mar 04, 2015Multiple source addresses for virtual servers
Hi All,
Does anyone know the format for listing multiple source addresses in the source entry for a virtual server? I know I can use an IRule but I just wanted to know if I can enter multiple s...
Michael_Jenkins
Cirrostratus
Mar 04, 2015If you wanted to update your iRule to use a subnet, you can add the
/XX suffix to the IP and the comparison will be based on that... So if you wanted 10.0.0.0/8, you could do this:
when CLIENT_ACCEPTED {
if { [IP::addr [IP::client_addr] equals 10.0.0.0/8] }{
discard
} else {
log local0. "Allowed Traffic"
}
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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