devops-what-is-and-how-to-setup-x-firewall

Contents

Roadmap info from roadmap website

Firewall

Firewall is a network security device that monitors and filters incoming and outgoing network traffic based on an organizationโ€™s previously established security policies. It is a barrier that sits between a private internal network and the public Internet. A firewallโ€™s main purpose is to allow non-threatening traffic in and to keep dangerous traffic out.

Visit the following resources to learn more:

FeatureAWS (AWS Network Firewall)Azure (Azure Firewall)
Service NameAWS Network FirewallAzure Firewall
Type of FirewallManaged network firewallManaged network firewall
Key Features- Stateful firewall- Centralized policy management- Deep packet inspection- Traffic filtering- URL filtering- Stateful firewall- Built-in high availability- Threat intelligence-based filtering- Application filtering
Integration with Cloud- Integrates with AWS VPC, Route 53, Transit Gateway, and AWS WAF- Integrates with Azure VNet, Application Gateway, VPN Gateway, and Azure Monitor
Traffic Filtering- Supports layer 3โ€“layer 7 filtering- Protocol and port filtering- Stateful rules and policies- Application-layer filtering (Layer 7)- Network-layer filtering- FQDN filtering for outbound traffic
Threat Intelligence- Integrates with AWS GuardDuty for threat detection- Built-in threat intelligence with automatic blocking of malicious traffic using feeds from Microsoft Threat Intelligence
High Availability- Built-in high availability (scales across AZs)- Built-in high availability with automatic scaling
Logging & Monitoring- Logs via AWS CloudWatch, S3, and Kinesis- Logs via Azure Monitor, Azure Sentinel, and Storage Accounts
Integration with Security Tools- AWS WAF (Web Application Firewall)- GuardDuty- AWS Shield for DDoS protection- Azure WAF (Web Application Firewall)- Azure Sentinel (SIEM)- Microsoft Defender for Cloud
Cost- Pay-as-you-go model based on usage (number of traffic processing units)- Pay-as-you-go model based on data processed, number of rules, and network egress
Management Interface- Managed via AWS Management Console, AWS CLI, and SDKs- Managed via Azure Portal, Azure CLI, PowerShell, and REST API
Use CaseIdeal for VPCs that require high-security policies and want tight integration with AWS infrastructureBest for securing Azure virtual networks with centralized, scalable, and threat intelligence-based firewall capabilities
Additional Capabilities- Centralized firewall management for multiple accounts using AWS Firewall Manager- Azure Firewall Manager for managing policies across multiple regions
FirewallDescriptionKey FeaturesUse Case
iptables- Legacy Linux firewall utility that interfaces with the Netfilter framework- Packet filtering- Network Address Translation (NAT)- Stateful inspection (with connection tracking)Used for configuring complex firewall rules, port forwarding, and packet filtering on older Linux systems
nftables- Modern replacement for iptables, built on the Netfilter framework- Unified command for packet filtering- Improved performance- Simplified syntaxBest for replacing iptables with a more modern, efficient tool for managing firewall rules
ufw (Uncomplicated Firewall)- Simplified front-end for iptables, making it easier to manage firewall rules- Easy command-line interface- Predefined profiles for common services- IPv4 and IPv6 supportIdeal for users and administrators who need a simple way to manage firewall rules without complex configurations
firewalld- Dynamic firewall manager for Linux, built on top of nftables and iptables, offering easier and more flexible rule management- Zone-based configuration- Supports both iptables and nftables- Allows runtime changesSuitable for environments where rules and configurations need to be dynamically managed without restarts
CSF (ConfigServer Security & Firewall)- Advanced firewall solution designed to be easy to configure and manage, commonly used on web hosting servers- Stateful packet inspection- Login/Intrusion detection- GUI integration (e.g., Webmin)Best for securing Linux web servers, offering user-friendly management and intrusion detection
Shorewall- High-level tool to configure Netfilter (iptables/nftables), making firewall management more intuitive- Zone-based management- Excellent for managing complex network environmentsIdeal for system administrators needing a robust tool to manage complex firewall rules and zones
pfSense- FreeBSD-based firewall distribution, also runs on Linux and offers advanced security features- Full firewall, VPN, and routing capabilities- Web-based GUI- Stateful packet inspectionGreat for security-focused environments, used for network perimeter protection, VPNs, and intrusion prevention
IPFire- Open-source firewall distribution with intrusion detection and prevention capabilities- Stateful firewall- Intrusion detection (Snort)- VPN capabilitiesIdeal for organizations needing both a firewall and advanced security features like IDS/IPS
SELinux- Security-enhanced Linux that enforces mandatory access control (MAC) policies, not a traditional firewall but controls application behavior- MAC-based control- Prevents unauthorized access- Integrated into major distributions like RHELBest for high-security environments needing strict control over which applications can access network resources
#roadmap #devops #devops-what-is-and-how-to-setup-x #ready #online