Chuyển đến nội dung
Skillpedia
Bảo mật35k · #8084

implementing-network-segmentation-with-firewall-zones

Skill này làm gì

Skill này giúp tổ chức mạng máy tính của bạn thành các phần nhỏ và an toàn hơn, gọi là “zone”. Điều này ngăn sự cố ở một phần lan sang các phần khác và kiểm soát ai được giao tiếp với ai.

Khi nào nên dùng

  • ✓Khi lên kế hoạch bảo mật cho mạng của bạn.
  • ✓Khi cấu hình tường lửa để kiểm soát lưu lượng.
  • ✓Khi cần tuân thủ các quy tắc bảo mật như PCI DSS hoặc HIPAA.

Liên kết skill

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/implementing-network-segmentation-with-firewall-zones/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/implementing-network-segmentation-with-firewall-zones/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Làm thế nào để thiết lập các zone bảo mật trong mạng của tôi bằng tường lửa?”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Skill chia mạng của bạn thành các zone (như “Internet”, “Máy chủ”, “Người dùng”) và dùng tường lửa để đặt các quy tắc nghiêm ngặt về lưu lượng được phép đi từ zone này sang zone khác.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Implementing Network Segmentation with Firewall Zones

Overview

Network segmentation divides a flat network into isolated security zones with firewall-enforced boundaries to contain breaches, restrict lateral movement, and enforce least-privilege access between workloads. Segmentation is a foundational control required by PCI DSS, HIPAA, NIST 800-53, and zero trust architectures. Modern segmentation combines traditional VLAN-based approaches with microsegmentation at the workload level for granular east-west traffic control. This skill covers designing zone architectures, configuring inter-zone firewall policies, implementing VLAN segmentation on switches, and deploying microsegmentation for dynamic environments.

When to Use

  • When deploying or configuring implementing network segmentation with firewall zones capabilities in your environment
  • When establishing security controls aligned to compliance requirements
  • When building or improving security architecture for this domain
  • When conducting security assessments that require this implementation

Prerequisites

  • Network topology documentation with asset inventory
  • Firewall supporting zone-based policies (Palo Alto, Fortinet, Cisco Firepower)
  • Managed switches with VLAN support (802.1Q trunking)
  • Traffic flow documentation or NetFlow data for baseline analysis
  • Compliance requirements (PCI DSS scope, HIPAA ePHI boundaries)

Core Concepts

Zone Architecture Tiers

Zone Trust Level Examples Access Policy
Internet None Public internet Default deny inbound
DMZ Low Web servers, mail relays, DNS Limited inbound, restricted outbound
Guest Low Guest WiFi, visitor network Internet only, no internal access
Corporate Medium Employee workstations, printers Controlled access to internal resources
Server/Data Center High Application servers, databases Strict ACLs, limited admin access
PCI CDE Critical Payment systems, card data PCI DSS compliant isolation
Management Critical Network devices, hypervisors, IPMI Highly restricted, jump box only
OT/SCADA Critical Industrial control systems Air-gapped or strictly firewalled

Segmentation Approaches

Approach Scope Granularity Use Case
VLAN Segmentation Layer 2 Subnet-level Department separation, guest isolation
Firewall Zones Layer 3-7 Zone-to-zone Inter-zone policy enforcement
ACLs on Routers Layer 3-4 Subnet/port Quick filtering at routing boundaries
Microsegmentation Layer 3-7 Workload-level Zero trust, container environments
SGT/TrustSec Layer 2-7 Tag-based Identity-based segmentation

Workflow

Step 1: Map Traffic Flows and Define Zones

Before implementing segmentation, capture baseline traffic:

# Capture NetFlow data to understand existing traffic patterns
nfdump -R /var/cache/nfdump/ -s srcip/bytes -n 50

# Identify east-west traffic between subnets
nfdump -R /var/cache/nfdump/ -s record/bytes \
  'src net 10.0.0.0/8 and dst net 10.0.0.0/8' -n 100

# Map application dependencies
# Document which servers need to communicate with which other servers

Step 2: Configure VLANs on Switches

! Core switch VLAN configuration
vlan 10
 name Management
vlan 20
 name Corporate-Users
vlan 30
 name Servers
vlan 40
 name PCI-CDE
vlan 50
 name Guest
vlan 60
 name DMZ
vlan 99
 name Native-Unused

! Trunk port to firewall
interface GigabitEthernet1/0/1
 description Trunk-to-Firewall
 switchport trunk encapsulation dot1q
 switchport mode trunk
 switchport trunk allowed vlan 10,20,30,40,50,60
 switchport trunk native vlan 99
 switchport nonegotiate

! Access port for corporate users
interface range GigabitEthernet1/0/2-24
 switchport mode access
 switchport access vlan 20
 spanning-tree portfast

! Access port for servers
interface range GigabitEthernet1/0/25-36
 switchport mode access
 switchport access vlan 30

! Prevent VLAN hopping
interface range GigabitEthernet1/0/37-48
 switchport mode access
 switchport access vlan 99
 shutdown

Step 3: Configure Firewall Zone Policies

Palo Alto zone-based policy:

# Define zones on firewall sub-interfaces
set network interface ethernet ethernet1/1 layer3 units ethernet1/1.10 tag 10 ip 10.0.10.1/24

…
Câu hỏi thường gặp

Phân đoạn mạng là gì?

Giống như chia một ngôi nhà lớn thành các phòng riêng có cửa khóa. Điều này ngăn sự cố ở một phòng ảnh hưởng đến các phòng khác.

Zone tường lửa là gì?

Đó là các nhóm thiết bị trong mạng có cùng mức bảo mật và mức độ tin cậy. Tường lửa đóng vai trò người gác cổng giữa các zone.

Vì sao nên dùng zone bảo mật?

Để tăng bảo mật, giảm thiệt hại từ tấn công và bảo đảm chỉ những giao tiếp cần thiết mới diễn ra, đồng thời tuân thủ quy định.

Chi tiết

Mô tả gốc của tác giả

Designs and implements network segmentation using firewall security zones, VLANs, inter-zone ACLs, and workload-level microsegmentation to restrict east-west lateral movement and enforce least-privilege access. Use when architecting security zones, writing inter-zone firewall policies, or meeting PCI DSS/HIPAA/NIST 800-53/zero-trust segmentation requirements for dynamic or traditional network envi

repo: mukul975/Anthropic-Cybersecurity-Skills

Độ phổ biến

Sao GitHub
35k
Vị trí xếp hạng
#8084
Giấy phép
Apache-2.0
Cập nhật
31/8/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự