惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Stack Overflow Blog
Stack Overflow Blog
云风的 BLOG
云风的 BLOG
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Recent Announcements
Recent Announcements
Microsoft Security Blog
Microsoft Security Blog
Microsoft Azure Blog
Microsoft Azure Blog
J
Java Code Geeks
D
DataBreaches.Net
U
Unit 42
P
Proofpoint News Feed
I
InfoQ
Apple Machine Learning Research
Apple Machine Learning Research
Google DeepMind News
Google DeepMind News
博客园 - Franky
博客园_首页
IT之家
IT之家
博客园 - 叶小钗
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园 - 【当耐特】
Hugging Face - Blog
Hugging Face - Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
阮一峰的网络日志
阮一峰的网络日志

博客园 - Eric Yih

Should be run run adprep when you want to install a higher version of windows controller in an existing forest lsattr command in AIX Consolidate Unix/Linux commands 资料收集 svchost.exe占用CPU 100%的解决方法 CVS使用手册 How to: Add a user from the OS X command line, works with Leopard In Mac OS X, how do I create and delete users? Sendmail How to config the AFP Share Server on Mac OS X 10.4/10.5 Server - Eric Yih How to switch 32<->64bit kernel on AIX Dpkg 常用指令操作快速参考 How to create local user use command dscl in Mac 通过 SSH 密钥验证实现在不同系统之间的脚本自动化 How-to: Understanding Mac OS X Open Directory Hands on: Mac OS X Server Mail Service Boot Camp, Part 1: The Basics Hands on: Setting up Mac OS X Open Directory Hands on: Using Apple's Workgroup Manager Configuring Network Information Service server and client on AIX
How to block SMB/LDAP/KDC/KPASSWD/NTP ports via firewall
Eric Yih · 2011-01-28 · via 博客园 - Eric Yih

Note: following are only referring to useful ports

ldap:      389/tcp

ldap:      389/udp

smb:       445/tcp

kdc:        88/tcp

kpasswd:   464/tcp

ntp:       123/udp

1.     Block the ports on win2k3 via firewall

1)     Open the firewall under “Control Panel” ->”Windows Firewall”

2)     Check “on” in “General” tab

3)     Open the “Exceptions” tab

A: If

there is no 389/88/464/123 port ,you should add it to “Exceptions” but don’t check it

Way: click “Add Port”, input “Name”, “Port number” and select the “TCP” or “UDP”

Such as : block the kdc port, input “kdc” as “Name”, 88 as “Port Number” and select “TCP”

Else

  don’t check them directly

              B: To block SMB port, there is “File and Printer Sharing” default

             Select “File and Printer Sharing”-> “Edit…”->select “TCP 445”->

”Change scope..”->check “Any computer(including those on the Internet)”->”OK”

             Note: you also don’t check “File and Printer Sharing”

2.     Block the ports on win2k8 via firewall

1)     Open the firewall under “Control Panel” ->”Windows Firewall”, change the status of firewall from off to on

2)     Open “Windows Firewall with Advanced Security” under ”Administrative Tools”

Select “Inbound Roles”, you can look up port of service via “Local Port” field in the right pane

 Block the port, you should select the service satisfy two conditions as followed:

   “Profile” is any or domain; “Enabled” is Yes; 

        Then select the service and right click it, select “Properties”, check “Block the

connections” in “Action” pane under “General” tab

 Different machine may be has different service number for one port