QuestionQ71

VerifiedSecure Windows Server on-premises and hybrid infrastructures

You have a server running Windows Server that hosts an app named App1.

You need to stop App1 from accessing external SMTP servers. The solution must meet these requirements:

  • Minimize the effect on App1's access to external HTTP servers.
  • Minimize the effect on other apps on the server.
  • Minimize administrative effort.

What should you implement in Windows Defender Firewall?

Explanation

An outbound custom rule can block traffic from the specific App1 executable to the remote SMTP port or ports, such as TCP 25. This confines the restriction to App1’s SMTP connections, preserves its outbound HTTP access, and does not block SMTP access for other applications. Microsoft documents that an outbound program or service rule can be restricted to specified ports or protocols, whereas an outbound port rule applies to all programs.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!