Forum Discussion
xia
Nimbostratus
Aug 14, 2019how to limit specified client visit virtual server use irules
Hi
Create virtual server “vs_hfs_80” , only allow "192.168.1.3" and "172.16.1.4" visit the virtual server . How to use irules realize the idea ?
Thanks !
- Brad_Scherer
Employee
Hi Xia,
Here is one way to do it:
when CLIENT_ACCEPTED { switch [IP::client_addr] { 10.1.1.1 { pool <poolname> } 10.1.1.2 { pool <poolname> } default { drop log local0. "[IP::client_addr] doesn't match allowed. --> Dropping Packet" } } }
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