加入收藏 | 设为首页 | 会员中心 | 我要投稿 佛山站长网 (https://www.0757zz.com/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 服务器 > 搭建环境 > Windows > 正文

如何使用脚本为domino server配置windows防火墙

发布时间:2016-10-08 07:06:58 所属栏目:Windows 来源:网络整理
导读:请将以下代码复制到记事本中并保存成 .cmd结尾,然后在domino服务器上双击运行即可: netsh firewall add portopening protocol=TCP port=25 name=smtp netsh f

请将以下代码复制到记事本中并保存成 .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

更多精彩内容:http://www.bianceng.cn/OS/server/

(编辑:佛山站长网)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    热点阅读