Basic iptables Tutorial | SUSE Communities
www.suse.com › c › basic-iptables-tutorialDec 27, 2007 · linux-w2mu # iptables -A INPUT -p tcp –dport 22 -j LOG –log-prefix "Someone knocked on port 22" linux-w2mu # iptables -A INPUT -s 192.168.2.1 -p tcp --dport 22 -j DROP Figure 2.1: Correct order. If you try the rules shown in Figure 2 and list the current rules with the verbose qualifier "-v" turn on you should see something similar to ...
Iptables Tutorial - Linux Hint
linuxhint.com › iptables-tutorialIptables Tutorial. Iptables is a command-line firewall that filters packets according to the defined rules. With Iptables, users can accept, refuse, or onward connections; it is incredibly versatile and widely used despite being replaced by nftables. After reading this tutorial, you will understand Iptables policies and define Iptables rules to ...