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

Docker: Commonly Used Commands

Repeat to remember Remember to repeat

Windows 10: Install SuSE Linux Enterprise - SLES

With Microsoft-Windows-Subsystem-Linux feature enabled, we can install Linux distributions on Windows 10.

PluralSight: Free Courses

Register free account at https://app.pluralsight.com to explore these free courses.