使用脚本为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



本文转自 高文龙 51CTO博客,原文链接:http://blog.51cto.com/gaowenlong/1211949,如需转载请自行联系原作者

相关文章
|
7月前
|
安全 数据安全/隐私保护 虚拟化
Windows Server 2022 中文版、英文版下载 (2025 年 10 月更新)
Windows Server 2022 中文版、英文版下载 (2025 年 10 月更新)
1789 2
Windows Server 2022 中文版、英文版下载 (2025 年 10 月更新)
|
7月前
|
安全 Unix 物联网
Windows 7 & Windows Server 2008 R2 简体中文版下载 (2025 年 10 月更新)
Windows 7 & Windows Server 2008 R2 简体中文版下载 (2025 年 10 月更新)
774 0
Windows 7 & Windows Server 2008 R2 简体中文版下载 (2025 年 10 月更新)
|
7月前
|
存储 SQL 人工智能
Windows Server 2025 中文版、英文版下载 (2025 年 10 月更新)
Windows Server 2025 中文版、英文版下载 (2025 年 10 月更新)
1023 0
|
8月前
|
运维 安全 网络安全
Windows Server 2019拨号“找不到设备”?Error 1058解决指南
Windows Server 2019拨号报错1058?别急!这不是硬件故障,而是关键服务被禁用。通过“服务依存关系”排查,依次启动“安全套接字隧道协议”“远程接入连接管理”和“路由与远程访问”服务,仅需4步即可恢复PPPoE或VPN拨号功能,轻松解决网络中断问题。
580 1
|
8月前
|
存储 SQL 人工智能
Windows Server 2025 中文版、英文版下载 (2025 年 9 月更新)
Windows Server 2025 中文版、英文版下载 (2025 年 9 月更新)
5559 3
Windows Server 2025 中文版、英文版下载 (2025 年 9 月更新)
|
8月前
|
安全 Unix 物联网
Windows 7 & Windows Server 2008 R2 简体中文版下载 (2025 年 9 月更新)
Windows 7 & Windows Server 2008 R2 简体中文版下载 (2025 年 9 月更新)
2048 2
|
8月前
|
安全 Linux iOS开发
SonarQube Server 2025 Release 5 (macOS, Linux, Windows) - 代码质量、安全与静态分析工具
SonarQube Server 2025 Release 5 (macOS, Linux, Windows) - 代码质量、安全与静态分析工具
341 0
SonarQube Server 2025 Release 5 (macOS, Linux, Windows) - 代码质量、安全与静态分析工具
|
网络安全 Windows
Windows 技术篇-防火墙启用时指定外部可访问端口,防火墙开放端口设置
之前用电脑撘环境,发现外部设备访问不了自己环境的端口,其实就是防火墙为了保护我们电脑给阻止了,这种情况把防火墙关闭就好了,但是关闭防火墙安全性就降低了,我们可以通过简单的设置给端口放开。
1096 0
Windows 技术篇-防火墙启用时指定外部可访问端口,防火墙开放端口设置
|
网络安全 Windows
windows防火墙设置端口开放技巧
选择“打开或者关闭windows防火墙”把防火墙打开,然后选择“高级设置”,选择“创建规则”来指定端口。(这里也可以在“入站规则”里选择已经存在的端口。)   指定ip开放3389端口       某新服务器,开放80、3389后,Nmap扫描结果: 禁止这4条规则 ...
2136 0