방화벽

보안

정의

사전 정의된 규칙에 따라 들어오고 나가는 트래픽을 모니터링하고 필터링하는 네트워크 보안 장치 또는 소프트웨어입니다. 방화벽은 IP 주소, 포트 번호, 프로토콜 또는 애플리케이션 계층 콘텐츠를 기준으로 트래픽을 차단할 수 있습니다.

Packet Filtering vs. Stateful Inspection

Early firewalls operated at the packet level — examining each packet's source IP, destination IP, protocol, and port number against a set of rules, with no memory of previous packets. Stateful firewalls improved on this by tracking connection state: a packet belonging to an established TCP session is treated differently than an unsolicited inbound SYN.

Modern next-generation firewalls (NGFWs) perform deep packet inspection to identify application protocols regardless of port, block by application identity rather than just IP and port, and integrate Intrusion Detection System (IDS)A security system that monitors network traffic or system activity for suspicious patterns and known attack signatures. Unlike a firewall, an IDS detects and alerts on threats but does not actively block them. capabilities directly into the forwarding path.

Common Firewall Architectures

Perimeter firewalls sit at the network edge, controlling traffic between the internal network and the internet. Host-based firewalls run on individual servers, providing a second layer of defense if perimeter controls are bypassed. Cloud security groups function as virtual stateful firewalls for cloud instances, with rules managed through cloud provider APIs.

Firewall Rule Design

Effective firewall rule design follows the principle of least privilege: deny everything by default, then explicitly allow only necessary traffic. Rules are typically evaluated top-to-bottom, stopping at the first match. Overly permissive rules — allowing broad IP ranges or unnecessary ports — are a primary source of security incidents.

Use Open Port Checker to test whether specific ports are reachable through a firewall from external networks. A firewall working alongside Intrusion Detection System (IDS)A security system that monitors network traffic or system activity for suspicious patterns and known attack signatures. Unlike a firewall, an IDS detects and alerts on threats but does not actively block them. systems provides both access control and behavioral monitoring.

관련 용어

보안에서 더 보기