Quản trị net diễn đàn chia sẻ thông tin các thủ thuật mạng, internet bảo mật thông tin dành cho giới IT VIệt hy vọng là nơi bổ ích cho cộng đồng

Quản trị net diễn đàn chia sẻ thông tin các thủ thuật mạng, internet bảo mật thông tin dành cho giới IT VIệt hy vọng là nơi bổ ích cho cộng đồng (http://quantrinet.com/forum/index.php)
-   DOS, DDOS, Cách Chống,... (http://quantrinet.com/forum/forumdisplay.php?f=282)
-   -   Chống DDOS trên máy chủ Windows IIS (http://quantrinet.com/forum/showthread.php?t=10450)

hoctinhoc 09-04-2026 03:00 PM

Chống DDOS trên máy chủ Windows IIS
 
Chống DDOS trên máy chủ Windows IIS , Block IP bằng Windows Firewall


Bước 1: Mở Power shell

Bước 2: Chạy lệnh sau để block tất cả IP truy cập vào Port 443


Get-NetTCPConnection -LocalPort 443 -State Established | Select-Object -Expand RemoteAddress
-Unique | % {New-NetFirewallRule -DisplayName "Block_$($_)" -Direction Inbound -Action Block -RemoteAddress $_ -Protocol
TCP -LocalPort 443}


Bước 3: Đếm số IP đang kết nối vào Port 443

PS C:\Users\Administrator> (Get-NetTCPConnection -LocalPort 443 -State Established | Select-Object -ExpandProperty RemoteAddress | Sort-Object -Unique).Count


Bây giờ là 08:53 PM. Giờ GMT +7

Diễn đàn tin học QuantriNet
quantrinet.com | quantrimang.co.cc
Founded by Trương Văn Phương | Developed by QuantriNet's members.
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.