Technical Forum
Ask questions. Discover Answers.
cancel
Showing results for 
Search instead for 
Did you mean: 

iRule

mgrdta
Nimbostratus
Nimbostratus

Hi all,

Can i write an irule and apply it to all the virtual server in a ltm. For eg. i want to write an irule which would block traffic from a specific ip and it should be applied to all virtual server without manually adding the iRule to each VS

 

 

3 REPLIES 3

Daniel_Wolf
Nacreous
Nacreous

Hi @mgrdta,

you could use Packet Filter for that purpose instead of writing an iRule and applying it to all virtual servers.
The risk with this process is, someone might forget to add the iRule to a new virtual server.
Packet Filters are a global setting for the whole BIG-IP. Take a look here:
MyF5 >> BIG-IP TMOS: Routing Administration >> Packet Filters 

KR
Daniel 

Thank you, I will try it and if I want to know more. I will message you.

By the way i am looking for the online essay sample while i am looking for the online samples then i found this website https://www.topessaywriting.org/samples/food-waste where i can see many essay samples which helps me to write my essay.

Paulius
MVP
MVP

@mgrdta If the F5 is not your perimeter device this should be blocked on your firewall or router depending on what you have to allow traffic in. As @Daniel_Wolf stated, you are better off blocking this as a packet filter but you can create an iRule to block traffic from whatever source you would like. If you went the iRule route you might want to make it part of your build document so that when adding a new virtual server that you have an iRule that will always be applied no matter what and if you will eventually add more IPs to be blocked you should utilize a data-group to reference in your iRule for blocking sources.