Forum Discussion
Willy
Nimbostratus
Jan 23, 2017ip allowed
ip address
3 Replies
- Willy
Nimbostratus
I was looking on how to inculde a netwerk instead of a host in the next rule.
when CLIENT_ACCEPTED { if { ( [IP::addr [IP::client_addr] equals "11.22.33.44%232"] ) or ( [IP::addr [IP::client_addr] equals "22.22.22.22%232"] ) or ( [IP::addr [IP::client_addr] equals "33.33.33.33%232"] ) } then { Allow the request } else { log local0. "request rejected from ( IP::addr [IP::client_addr] ) " reject } } - Willy
Nimbostratus
Found in the meantime i just need to add the mask to extend from host to network.
[IP::addr [IP::client_addr] equals "11.11.0.0%228 mask 255.255.0.0"] - Willy
Nimbostratus
Found in the meantime i just need to add the mask to extend from host to network.
[IP::addr [IP::client_addr] equals "11.11.0.0%228 mask 255.255.0.0"]
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