使用脚本为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,如需转载请自行联系原作者

相关文章
|
6月前
|
安全 数据安全/隐私保护 虚拟化
Windows Server 2022 中文版、英文版下载 (2025 年 10 月更新)
Windows Server 2022 中文版、英文版下载 (2025 年 10 月更新)
1617 2
Windows Server 2022 中文版、英文版下载 (2025 年 10 月更新)
|
6月前
|
安全 Unix 物联网
Windows 7 & Windows Server 2008 R2 简体中文版下载 (2025 年 10 月更新)
Windows 7 & Windows Server 2008 R2 简体中文版下载 (2025 年 10 月更新)
685 0
Windows 7 & Windows Server 2008 R2 简体中文版下载 (2025 年 10 月更新)
|
6月前
|
存储 SQL 人工智能
Windows Server 2025 中文版、英文版下载 (2025 年 10 月更新)
Windows Server 2025 中文版、英文版下载 (2025 年 10 月更新)
931 0
|
7月前
|
运维 安全 网络安全
Windows Server 2019拨号“找不到设备”?Error 1058解决指南
Windows Server 2019拨号报错1058?别急!这不是硬件故障,而是关键服务被禁用。通过“服务依存关系”排查,依次启动“安全套接字隧道协议”“远程接入连接管理”和“路由与远程访问”服务,仅需4步即可恢复PPPoE或VPN拨号功能,轻松解决网络中断问题。
566 1
|
7月前
|
存储 SQL 人工智能
Windows Server 2025 中文版、英文版下载 (2025 年 9 月更新)
Windows Server 2025 中文版、英文版下载 (2025 年 9 月更新)
4635 3
Windows Server 2025 中文版、英文版下载 (2025 年 9 月更新)
|
7月前
|
安全 Unix 物联网
Windows 7 & Windows Server 2008 R2 简体中文版下载 (2025 年 9 月更新)
Windows 7 & Windows Server 2008 R2 简体中文版下载 (2025 年 9 月更新)
1706 2
|
7月前
|
安全 Linux iOS开发
SonarQube Server 2025 Release 5 (macOS, Linux, Windows) - 代码质量、安全与静态分析工具
SonarQube Server 2025 Release 5 (macOS, Linux, Windows) - 代码质量、安全与静态分析工具
324 0
SonarQube Server 2025 Release 5 (macOS, Linux, Windows) - 代码质量、安全与静态分析工具
|
安全 Linux 应用服务中间件
在Linux中,包过滤防火墙与代理应用防火墙有什么区别?有哪些相应的产品?
在Linux中,包过滤防火墙与代理应用防火墙有什么区别?有哪些相应的产品?
|
机器学习/深度学习 安全 网络协议
Linux防火墙iptables命令管理入门
本文介绍了关于Linux防火墙iptables命令管理入门的教程,涵盖了iptables的基本概念、语法格式、常用参数、基础查询操作以及链和规则管理等内容。
556 73
|
监控 安全 Linux
启用Linux防火墙日志记录和分析功能
为iptables启用日志记录对于监控进出流量至关重要
542 1