Skip to main content

[Windows]: open firewall ports for smtp, smtps, pop3s, imaps, domino

:: commands to open firewall ports for smtp, smtps, msa, pop3s, imaps services
netsh advfirewall firewall add rule name = SMTP dir = in protocol = tcp action = allow localport = 25 profile = PUBLIC
netsh advfirewall firewall add rule name = SMTPS dir = in protocol = tcp action = allow localport = 465 profile = PUBLIC
netsh advfirewall firewall add rule name = MSA dir = in protocol = tcp action = allow localport = 587 profile = PUBLIC
netsh advfirewall firewall add rule name = POP3 dir = in protocol = tcp action = allow localport = 110 profile = PUBLIC
netsh advfirewall firewall add rule name = POP3S dir = in protocol = tcp action = allow localport = 995 profile = PUBLIC
netsh advfirewall firewall add rule name = IMAP dir = in protocol = tcp action = allow localport = 143 profile = PUBLIC
netsh advfirewall firewall add rule name = IMAPS dir = in protocol = tcp action = allow localport = 993 profile = PUBLIC
netsh advfirewall firewall add rule name=DOMINO dir=IN protocol=TCP action=allow localport=1352 profile=PUBLIC

Popular posts from this blog

Windows 10 1903 Critical Error: Your Start menu isn't working

Windows 10 1903 Critical Error: Your Start menu isn't working. We'll try to fix it the next time you sign in.

Office 365: Alert Policies - Creation of forwarding/redirect rule

The default Creation of forwarding/redirect rule alert policy will be triggered when end-users create rule to forward or redirect mail

Powershell: Install Windows Feature - .NET Framework 3.5

Check if .NET Framework is installed. Get-WindowFeature *net* Install-WindowsFeature NET-Framework-Features