Forum Discussion
Multiple 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 sources into the source area of the general properties of a virtual server. I've tried many different formats and can't find one that works. I'm using route domains. The IRule I have is below, what would it be for a subnet? Apologies for such a simple question but I'm new to IRules
when CLIENT_ACCEPTED { if { [IP::addr [IP::client_addr] equals 4.4.4.4] }{ discard } else {
log local0. "Allowed Traffic" } }
1 Reply
- Michael_Jenkins
Cirrostratus
If you wanted to update your iRule to use a subnet, you can add the
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:/XXwhen 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
* 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