Blog
## Important! iptables rules only apply to ipv4. If you want to set up a firewall for the ipv6 protocol, you will need to use ip6tables instead
## levely obtiznosti v nastaveni FW
1 Netfilter (Nightmare - Damn I'm Good)
2 Iptables (Hard - Come Get Some)
3 UFW (Normal - Let's Rock)
4 Some 1-clicks or predefined setups (Easy - Piece of Cake)
#<------------------------------------ ------------------------------------>#
-OPTIONS[chain]
A append
D delete
I insert
R replace
Z zero couters
L list
P policy
E rename
F flush
N new user defined Chain
X delete chain
#<------------------------------------ ------------------------------------>#
-MATCHING COMPONENT
p protocol
s source IP
d destination IP
i IN interface
o OUT interface
#<------------------------------------ ------------------------------------>#
j (jump) ACCEPT | DROP | REJECT | RETURN
#<------------------------------------ ------------------------------------>#
Strana 45 z 183