Forum Discussion
AFM context
Hi i have a question about the AFM context, when i create a rule in the global or the virtual server context with the action accept the VIP will not be reachable, i have to change the action to accept decisively or create the same rule in the virtual server or the global context with action accept so the VIP will be reachable, i got the idea of the firewall context but i do not know the benefits of it or when to use it in a real world scenario?
thanks in advance
1 Reply
- nathe
Cirrocumulus
What mode is the AFM configured in, ADC or Firewall mode? ADC mode has implicit rules for existing VSs but in Firewall mode you need to explictly create firewall rules. Normally i'd recommend ADC to start with and then move over to Firewall mode once all rules in place. It sounds like the Global Drop context is dropping your traffic if you have to use Accept Decisively, although i can' t be sure. You may need to enable logging for the Global context by enabling a DB key -
tmsh modify sys db tm fw.globaldefaultrule log value enableThis might give you more information on why the traffic is being dropped.
As for reasons to use context, then it helps when understanding the firewall requirements on a per application (i.e. per VS) instance. If everything was in the global context you don't have this visbility necessarily.
Hope this helps,
N
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