Computer >> บทช่วยสอนคอมพิวเตอร์ >  >> ระบบเครือข่าย >> ความปลอดภัยเครือข่าย

วิธีดู Network Security Groups (NSG) ใน Azure

วิธีหา Azure Network Security Group

Sign in Azure Portal > All Services > พิมพ์ "network security groups" > เลือกจากผลลัพธ์

Network Security Groups ใน Azure คืออะไร?

มี Security Rules กำหนด Allow/Deny Traffic ไป/มาจาก Azure Resources ระบุ Source, Destination, Port, Protocol สำหรับแต่ละ Rule

วิธีดู NSG Logs

Azure Portal > Network Watcher > NSG Flow Logs > คลิก NSG ที่ต้องการ > Flow Log Settings

Azure CLI Command สำหรับดู NSG ที่มีอยู่

Azure Network Security Groups (NSGs) ควบคุม Traffic ไปยัง Resources ใน Virtual Network

วิธี Apply NSG ใน Azure

Azure Portal > Create Resource > Networking > Network Security Group > สร้าง NSG ใน Portal

Network Security Group Azure คืออะไร?

ควบคุมและตรวจสอบ Network Traffic ไป/มาจาก Azure Services ใช้กับ Subnet ใน VNet ได้ ให้ Interface มาตรฐานสำหรับ Access Control หลาย VMs

NSG สามารถ Apply ได้ที่ไหน?

ผูกกับ Subnet: Rules ใช้กับ Resources ที่เชื่อมต่อ Subnet ผูกกับ NIC: Rules ใช้กับ Interface เดียว ผูกกับ VMs และ NIC: จำกัด Traffic เพิ่มเติม

วิธีสร้าง Security Group ใน Azure

Azure Portal > Create Resource > Networking > Network Security > Subscription > Resource Group (ใหม่/เดิม) > ชื่อที่ไม่ซ้ำกัน

Azure Network Security Group เป็น Firewall หรือไม่?

Azure Firewall: OSI Layer 4 & 7 NSG: Layer 3 & 4 NSG เป็น Basic Firewall กรองที่ Network Layer Azure Firewall เป็นบริการครบวงจร ฟีเจอร์มากกว่า

วิธีดู Azure NSG Logs

Sign in Portal > All Services > Network Security Groups > เลือก NSG > Monitoring > Diagnostics Logs > Turn on Diagnostics

วิธี Query NSG Flow Logs

เปิด Traffic Analytics (ส่งข้อมูลไป Log Analytics) ไปที่ Network Watcher > Traffic Analytics > คลิก Chart จะไป Log Analytics พร้อม Query

วิธี Delete NSG Flow Log

รัน Script PowerShell: Delete-NsgFlowLogsBlobs.ps1 พร้อม Parameters ที่จำเป็น

วิธีตรวจสอบ Azure Network Logs

Sign in Azure > Network Watcher > NSG Flow Logs > เลือก NSG > Flow Log Status = On > Storage Account > Retention (days) >= 90 > Save