Difference between revisions of "OPS535 Linux Firewall Review"

From CDOT Wiki
Jump to: navigation, search
(Created page with "= Concepts = * Netfilter * iptables * firewall = Command line tools = * iptables * ip6tables * arptables * ebtables * nft = iptables = * raw table ** PREROUTING chain ** OUTPU...")
 
m
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
 +
[[Category:OPS535]]
 +
* Text book: Chapter 13
 
= Concepts =
 
= Concepts =
 
* Netfilter
 
* Netfilter
Line 32: Line 34:
 
**FORWARD
 
**FORWARD
 
**OUTPUT
 
**OUTPUT
 +
= rules =
 +
<pre>
 +
iptables -t filter -A INPUT -p tcp --dport 22 -j ACCEPT
 +
          |---------------| |---------------| |--------|
 +
          where and when    match spec.      action
 +
</pre>

Revision as of 12:52, 25 November 2019

  • Text book: Chapter 13

Concepts

  • Netfilter
  • iptables
  • firewall

Command line tools

  • iptables
  • ip6tables
  • arptables
  • ebtables
  • nft

iptables

  • raw table
    • PREROUTING chain
    • OUTPUT chain
  • managle table
    • PREROUTING
    • INPUT
    • FORWARD
    • OUTPUT
    • POSTROUTING
  • nat table
    • PREROUTING
    • INPUT
    • OUTPUT
    • POSTROUTING
  • filter table
    • INPUT
    • FORWARD
    • OUTPUT
  • security table
    • INPUT
    • FORWARD
    • OUTPUT

rules

iptables -t filter -A INPUT -p tcp --dport 22 -j ACCEPT
          |---------------| |---------------| |--------|
           where and when     match spec.       action