PCNSA · Question #294
If users from the Trusted zone need to allow traffic to an SFTP server in the DMZ zone, how should a Security policy with App-ID be configured?
The correct answer is B. Source Zone: Trusted. To allow SFTP traffic from the Trusted zone to a server in the DMZ zone using App-ID, the security policy should specify the Trusted Source Zone, DMZ Destination Zone, 'sftp' Application, and 'application-default' Service.
Question
If users from the Trusted zone need to allow traffic to an SFTP server in the DMZ zone, how should a Security policy with App-ID be configured?
Options
- ASource Zone: Trusted
- BSource Zone: Trusted
- CSource Zone: Trusted
- DSource Zone: Trusted
How the community answered
(68 responses)- A9% (6)
- B82% (56)
- C3% (2)
- D6% (4)
Why each option
To allow SFTP traffic from the Trusted zone to a server in the DMZ zone using App-ID, the security policy should specify the Trusted Source Zone, DMZ Destination Zone, 'sftp' Application, and 'application-default' Service.
Specifying 'Application: any' defeats the purpose of App-ID by allowing any application on the SFTP port, making the policy less secure.
Configuring the 'Application' as 'sftp' leverages App-ID to identify SFTP traffic regardless of its port, while setting 'Service' to 'application-default' ensures the policy matches SFTP on its standard port (TCP/22) or any other port App-ID detects it on, providing robust control from the Trusted to the DMZ zone.
Setting 'Service' to 'any' is less secure than 'application-default' as it allows the application on any port without App-ID's default port enforcement.
Using 'Application: any' with 'Service: application-default' is overly permissive, allowing any application on its default port, which is not suitable for a specific SFTP allowance.
Concept tested: App-ID based security policy for specific application
Source: https://docs.paloaltonetworks.com/pan-os/10-2/pan-os-admin/policy/security-policy/security-policy-rules/create-a-security-policy-rule
Topics
Community Discussion
No community discussion yet for this question.