s兄想要的是這個:
block out to any port 1803
可是r兄說的是這個:
block in from any to port 1803
在DOS環境,參考這個試試看:
http://support.microsoft.com/?scid=k...3878&x=10&y=15
引用:
To add an additional filtering rule to the existing "Block UDP 1434 Filter" policy that blocks network traffic that originates from your Windows Server 2003-based or Windows XP-based computer to any IP address, use the following command.
Note In this command, Protocol and PortNumber are variables:
代碼:
IPSeccmd.exe -w REG -p "Block ProtocolPortNumber Filter" -r "Block Outbound ProtocolPortNumber Rule" -f *0=:PortNumber:Protocol -n BLOCK
For example, to block any network traffic that originates from your Windows Server 2003-based or Windows XP-based computer that is directed to UDP 1434 on any other host, type the following. This policy is sufficient to help prevent computers that run SQL Server 2000 from spreading the "Slammer" worm.
|
我沒試過!若是你有試成功,再跟我們分享。