Description | This article describes how to confirm what ports are open for smtp.office365.com. |
Scope |
FortiGate. |
Solution |
To identify whether the specific port is open or not, make sure the IP address is resolved for a particular FQDN.
Below is an example of smtp.office365.com:
nslookup > smtp.office365.com Non-authoritative answer: Later, enable the Telnet command to verify whether FQDN is reachable on a particular port.
The above image confirms that port 587 is not allowed to communicate over the firewall.
Therefore, to check whether the traffic is allowed or not, run the following debug commands: diagnose debug reset diagnose debug filter dport 587 diagnose debug flow trace start 9999 diagnose debug enable The above debug output confirms that the traffic is getting denied by the firewall.
Therefore, create a policy to allow SMTP traffic for service 587.
Try again: this time, the traffic will be allowed.
The following is the connected output: 220 YT1PR01CA0064.outlook.office365.com Microsoft ESMTP MAIL Service ready at Mon, 28 Oct 2024 12:29:16 +0000 [08DCF738F5C99BE7]
|
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.