- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
10-15-2024 04:31 PM
Hello,
I would like to get a better understanding about the relationship Service vs Application when setting up FW rules:
Example:
"mysql" is provided with service TCP port 3306.
If a rule is created using service TCP Port 58740 and in same rule under application "mysql" is added, would it cause the PA to associate application "mysql" with port 58740 system-wide. In other words, it would have a global effect on all rules using "mysql".
I would appreciate, if someone could shed some light on it.
Thanks,
10-17-2024 10:34 AM
Let me rephrase my question.
If you add "mysql" is application, which by default is associated with port 3306.
And in same rule you would add server TCP 58740.
Where would Palo look first - at Layer 7 - "mysql" or Layer 4 TCP Port 58740.
Would it break the association with port 3306. And Palo would only allow traffic on TCP Port 58740 and not application "MySQL". In other words, it would break the rule for allowing traffic for Application "MySQL"?
10-17-2024 08:27 PM
Security rules are evaluated left to right and from top to bottom.
Source Address | User | Device | Zone |
Destination Address | Device Application | Service | Action | Profile Options Target
https://docs.paloaltonetworks.com/network-security/security-policy/administration/security-rules#
Based on this statement, is PA checking Application first, and if it matches for example "mysql", [default 3306], PA would not look further into the entry [TCP port 58740] added in Services? column?
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!