- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
Enhanced Security Measures in Place: To ensure a safer experience, we’ve implemented additional, temporary security measures for all users.
10-11-2020 12:17 AM
Hi Team,
I have a couple of questions in application vs services.
1. I have to permit a list of services for a particular traffic. In those list some of them are already in the applications like DNS, IMAP, Pop3 and I need to create some services with custom port. Now do I add these applications and the custom services in the same rule or does it have to be in two different rules ?
2. I need to permit bitdefender/kaspersky antivirus traffic. As per the application it uses only tcp 80/443 as standard port. But I do have a list of services which has custom ports like tcp 7075. Do i need to add as a service or add as an application and give any (instead of application-default) ?
Please advise.
10-11-2020 08:20 AM - edited 10-11-2020 08:21 AM
Hi,
1- You can add the application and all ports to same rule, as the application wont be identified based on the port it uses but here you will have to allow all services like also 53, 143...
2- you can choose the application and set service to any, that should work but not best practice.
10-12-2020 01:53 AM
Hi Abdul,
Thanks for your reply.
Now If I add applications for eg DNS, then do i need to allow 53 as well ? Then If I permit 53 in service and I need to permit some customer service like 7010, then I will be adding 7010 as well. WIll the application DNS be looking for service 7010 as well ? or how is the behavior ?
10-12-2020 03:09 AM
Hi @KrishnanR,
you will need to add all ports that the applications will use because in the services tab "Selected" will be set.
each application will use the ports it needed, DNS works on normally on Port 53, so it will use this port.
10-14-2020 12:33 AM
Thanks for your message.
If I have a list of applications like dns, https along with some services like TCP-7010(not related to dns or https), these applications have no relation with the services I am going to mention. So should it be in a single policy ?
10-14-2020 12:50 AM
well that depends how you will organize your security policies, so when you search for a policy your created before it will make sense to the admin.
10-14-2020 01:06 AM
Dear Abdul,
Thanks for your reply. I mean can I add them both in a single policy itself rather than creating two different policies one for App-ID and another for Services related. Will that be fine or that may cause any issue ?
10-14-2020 01:30 AM
Application and services are handled seperatly, that means you will need to list all applications that you need, and all services that you need. an example if the traffic has been identified as Facebook:Port 80,443, then application tab should list facebook and services set to selected then services will need to list all ports that facebook will need. another exmple if the firewall identified the traffic as Unknown TCP:Port 7010, and application tab lists Unkown-tcp, but services selected and port 7010 not listed, the traffic wont match the rule.
hope now it is more clear.
10-14-2020 01:52 AM
Dear Abdul,
Thanks for your quick response. So in the same rule, I can add these. This will work ?
I saw the following rule in the demo system. It means in a single rule it should be fine I guess
10-14-2020 02:44 AM
no that will not work, because services is selected and only 4001 is allowed, when selected you will need to enter all port that you want to allow or deny that means the dns port.....
10-14-2020 03:45 AM
But if you look at the rule which I saw in demo appliance it had ping and other applications with a custom service.
10-14-2020 04:59 AM
ping doesnt need a port, and for ms-rdp probably they are using NAT or even 3389 defined in same TCP4001. as i already mentinied that is how security policy in PA works.
good luck.
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!