使用脚本为domino server配置windows防火墙
For Windows server 2003
请将以下代码复制到记事本中并保存成 .cmd结尾,然后在domino服务器上双击运行即可:
netsh firewall add portopening protocol=TCP port=25 name=smtp
netsh firewall add portopening protocol=TCP port=80 name=http
netsh firewall add portopening protocol=TCP port=110 name=pop3
netsh firewall add portopening protocol=TCP port=143 name=imap
netsh firewall add portopening protocol=TCP port=389 name=ldap
netsh firewall add portopening protocol=TCP port=443 name=https
netsh firewall add portopening protocol=TCP port=465 name=smtps
netsh firewall add portopening protocol=TCP port=636 name=ldaps
netsh firewall add portopening protocol=TCP port=993 name=imaps
netsh firewall add portopening protocol=TCP port=995 name=pop3s
netsh firewall add portopening protocol=TCP port=1352 name=domino
netsh firewall add portopening protocol=TCP port=8250 name=RDP
For windows server 2008
请将以下代码复制到记事本中并保存成 .cmd结尾,然后在domino服务器上双击运行即可:
netsh advfirewall firewall add rule name="mail services" dir=in protocol=TCP localport=25,80,110,143,389,443,465,636,993,995,1352,8250 action=allow
本文提供了一个简单的方法来为Domino服务器配置Windows防火墙。通过运行包含特定命令的批处理文件,可以快速开放所需的端口,适用于Windows Server 2003和2008。

8634

被折叠的 条评论
为什么被折叠?



