IPTables Flashcards
Learn basic and moderate things about iptables
What is a rule chain ?
It is a list of sequential rules. That list may be built-in or defined by the administrator.
What are the default chains in iptable ?
INPUT, OUTPUT, FORWARD
What are the default chains in iptable ?
INPUT, OUTPUT, FORWARD
Which technology iptables have replaced ?
ipfw
Which technology have replaced iptables ?
NFT
What is IP MASQUERADING ?
It is a simple and partial implementation of NAT, allowing many Internal hosts to access to internet with a single public IP address.
With Netfilter which “subsystem” is the first entry point of a packet.
The first subsystem through which an incoming packet pass is the “routing function”.
With Netfilter, to which chain the routing function forward accepted packet ?
If the packet is to be delivered on the local host, it is transferred to the INPUT chain. Otherwise it is transferred to the FORWARD chain:
With Netfilter, what comes after the INPUT chain ?
Either a drop, or a local process (logging or destination process), or another user-defined chain
With Netfilter, what comes after the FORWARD chain ?
Either a drop or the Interface through which the packet must go through.
With Netfilter, what comes before the OUTPUT chain ?
Only the local process
With Netfilter, what comes after the OUTPUT chain ?
Either a drop or the Interface through which the packet must go through.
What is the main difference between Netfilter (iptables) and IPFW (ipchains) ?
It is the packet traversal through the different network functions and built-in chains. With Netfilter, packet always go through only 1 chain (except for loopback packets which are filtered twice). With IPFW, packet can go through 2 or 3 chains.
What are the default packet matching tables in Netfilter §
filter, nat, mangle, raw, security
What is the default table in Netfilter ?
filter