2008AD複製有防火牆要開什麼埠
DC之間要做Replication, 假如DC間的通訊有防火牆隔著,需要開什麼埠呢,TechNet有個Wiki說得很清楚,以下是一些摘錄,和大家分享下。
Introduction
Firewalls present two difficulties when deploying a distributed Active Directory (AD) directory service architecture:
-
Initially promoting a server to a domain controller.
-
Replicating traffic between domain controllers.
Active Directory relies on remote procedure call (RPC) for replication between domain controllers. (Simple Mail Transfer Protocol [SMTP] can be used in certain situations—schema, configuration, and global catalog replication, but not domain naming context—limiting its usefulness.) Getting replication to function properly in environments where a directory forest is distributed among internal, perimeter networks and external (that is, Internet-facing) networks can be challenging. There are three possible approaches:
-
Open the firewall wide to permit RPC`s native dynamic behavior.
-
Limit RPC`s use of TCP ports and open the firewall just a little bit.
-
Encapsulate domain controller (DC-to-DC) traffic inside IP Security Protocol (IPSec) and open the firewall for that.
Each approach has its pros and cons. In general, there are more cons than pros at the top of the list, and more pros than cons at the bottom. So although this document describes how to do all three, most of its focus is on the IPSec approach because of its benefits over the other two.
Full Dynamic RPC
Pros
Cons
No special server configuration
Turns the firewall into “Swiss cheese”
Random incoming high-port connections
Insecure firewall configuration
Although configuring your environment to work this way is certainly possible, there are plenty of reasons not to do it—most importantly—it results in an insecure network. It does, however, require the least amount of configuration work.
To enable replication over dynamic RPC, configure your firewall to permit the following.
Service
Port/protocol
RPC endpoint mapper
135/tcp, 135/udp
Network basic input/output system (NetBIOS) name service
137/tcp, 137/udp
NetBIOS datagram service
138/udp
NetBIOS session service
139/tcp
RPC dynamic assignment
1024-65535/tcp
Server message block (SMB) over IP (Microsoft-DS)
445/tcp, 445/udp
Lightweight Directory Access Protocol (LDAP)
389/tcp
LDAP ping
389/udp
LDAP over SSL
636/tcp
Global catalog LDAP
3268/tcp
Global catalog LDAP over SSL
3269/tcp
Kerberos
88/tcp, 88/udp
Domain Name Service (DNS)
53/tcp1, 53/udp
1
TCP is used for zone transfers and whenever answers to questions exceed 512 bytes.
For a reference of Windows port requirements, see:
832017 Service overview and network port requirements for the Windows Server system
http://support.microsoft.com/default.aspx?scid=kb;EN-US;832017
It is that “RPC dynamic assignment” rule that makes this scenario insecure. Sometimes referred to as “TCP high ports,” the rule needs to permit inbound traffic on any port above 1024. If your firewall permits this, there is very little reason even to have a firewall.
If you do not want to permit DNS or WINS, you can use HOSTS (for DNS) and LMHOSTS (for WINS) files for name resolution. These files are stored in %SystemRoot%system32driversetc. Look inside the files for information on how to use them.
本文轉自 VirtualTom 51CTO部落格,原文連結:http://blog.51cto.com/virtualtom/592255,如需轉載請自行聯絡原作者
相關文章
- 物理防火牆是什麼?有什麼作用?防火牆
- CentOS 7 開放防火牆埠CentOS防火牆
- centos 開啟防火牆指定埠CentOS防火牆
- CentOS下開放防火牆埠CentOS防火牆
- 【網路安全】什麼Web應用防火牆?它與雲防火牆有什麼差異?Web防火牆
- 為什麼要部署Web應用防火牆(WAF)?Web防火牆
- 什麼是防火牆?防火牆能發揮什麼樣的作用?防火牆
- Centos7 防火牆(firewall)開埠CentOS防火牆
- 什麼是防火牆(Firewall)?防火牆
- 堡壘機和防火牆有什麼區別?防火牆
- 防火牆 搜尋 釋出 防火牆是什麼?怎麼理解?防火牆
- 開啟、關閉防火牆或者開放埠防火牆
- CentOS開啟防火牆及開放指定埠CentOS防火牆
- Centos 7防火牆firewalld開放80埠CentOS防火牆
- Linux 防火牆開放特定埠 (iptables)Linux防火牆
- 伺服器防火牆如何開放埠?常見的伺服器埠有哪些?伺服器防火牆
- windows10防火牆打不開怎麼辦_win10為什麼打不開防火牆Windows防火牆Win10
- win10防火牆關閉還是開啟好_win10防火牆關閉開啟有什麼影響Win10防火牆
- 防火牆埠(下)(轉載)防火牆
- 防火牆埠(中)(轉載)防火牆
- 防火牆埠(上)(轉載)防火牆
- 防火牆是什麼?怎麼理解?防火牆
- linux 防火牆埠號開發情況Linux防火牆
- Windows server 防火牆開放oracle監聽埠WindowsServer防火牆Oracle
- Centos7 開啟80埠防火牆命令CentOS防火牆
- 防火牆怎麼開啟防火牆
- Linux 7新增防火牆埠Linux防火牆
- 什麼是Web應用防火牆?Web防火牆
- 什麼是防火牆?—Vecloud微雲防火牆Cloud
- 騰訊雲Web應用防火牆有什麼用?Web應用防火牆是防禦原理介紹Web防火牆
- ubuntu下開啟/關閉防火牆 及埠 - 命令Ubuntu防火牆
- linux下修改防火牆,開啟8080埠Linux防火牆
- linux在防火牆上開啟1521埠Linux防火牆
- 在防火牆上開發Oracle埠的問題防火牆Oracle
- Windows上Oracle開放防火牆埠問題(轉)WindowsOracle防火牆
- 雲伺服器埠和防火牆埠配置伺服器防火牆
- UTM與傳統防火牆有什麼本質區別(轉)防火牆
- Linux下防火牆開啟相關埠及檢視已開啟埠Linux防火牆