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

Wireguard VPN: Notes

Notes while trying Wireguard VPN on some of my testbeds.

IIS: Delete cached files on server running IIS

Delete cached files on server running IIS When changing css, javascript files, check to delete if IIS still caches old files in the default folder C:\inetpub\temp\IIS Temporary Compressed Files\<sitename>\$^_gzip_D^\ Apply to: IIS 8.5