How to use scripts to configure Windows Firewall for Domino server

Source: Internet
Author: User
Tags firewall

Copy the following code into Notepad and save it as a. cmd end, and then double-click on the Domino server to run it:

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

Copy the following code into Notepad and save it as a. cmd end, and then double-click on the Domino server to run it:

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

More Wonderful content: http://www.bianceng.cnhttp://www.bianceng.cn/OS/server/

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.