CS529 Firewall
CS529 Firewall
[email protected]
Firewalls
Firewall is software based network security system (or a special
hardware) that controls the incoming and outgoing network
traffic by analyzing the data packets.
Firewall is treated as the first line of defense.
It denies or allows IP addresses, ports and protocols.
It can control the data traffic at the level of TCP/IP ports. E.g., a
firewall can limit access to a port that is not used by any
standard service
chain.
OUTPUT chain
– present in the nat, mangle and filter tables.
– Only packets originating on localhosttraverse this chain.
FORWARD chain
– present in the mangle and filter tables.
– Only packets that neither originate nor terminate at the
local host traverse this chain.
# iptables ‐L INPUT ‐n ‐v
# iptables ‐L OUTPUT ‐n ‐v ‐‐line‐numbers