Port Reference

+ Palo Alto App-IDs

Search by port number or service name. App-IDs shown for policy building.

Port 25 · SMTP

Port 25 is SMTP, TCP.

TCP
medium risk
App-IDsmtp

Simple Mail Transfer Protocol — server-to-server email delivery (MTA to MTA). Should be blocked outbound for non-mail servers.

Palo Alto

Create the service object for this port, then allow the App-ID on it. Restricting the rule to the port's service object keeps the rule working on a non-default port and stops the App-ID matching on other ports. Replace the placeholders with your own rule name and zones.

set service tcp-25 protocol tcp port 25
set rulebase security rules <rule-name> from <from-zone> to <to-zone> source any destination any application smtp service tcp-25 action allow

Risk and exposure

Rated medium risk. Restrict this port to the sources that need it and keep the service patched; avoid exposing it to the whole internet unless the service is meant to be public.

Check it

  • Linux ss -tlnp | grep :25
  • PowerShell Test-NetConnection <host> -Port 25
  • nmap nmap -p 25 <host>

Related ports

← Search all ports