August 2018
Intermediate to advanced
482 pages
12h 44m
English
We will try to create a basic rule set of iptables, using which we will restrict all the incoming packets, except for those that are necessary for us:
iptables -A INPUT -i lo -j ACCEPT

This is necessary for the system to function properly.
iptables -A INPUT -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
This will accept ...
Read now
Unlock full access