I have created few iptables rules and I have tested them. I created INPUT, OUTPUT chains using following code:  #!/bin/bashiptables -Fiptables -P INPUT DROPiptables -P OUTPUT DROPiptables -P FORWARD DROPiptables -N accept-inputiptables -A accept-input -j LOG --log-prefix INPUT-ACCEPTED iptables -A accept-input -j ACCEPTiptables -N drop-inputiptables -A drop-input -j LOG --log-prefix INPUT-DROPPED iptables -A drop-input -j DROPiptables -N accept-outputiptables -A accept-output -j LOG --log-prefix OUTPUT-ACCEPTED iptables -A accept-output -j ACCEPTiptables -N drop-outputiptables -A drop-output -j LOG --log-prefix OUTPUT-DROPPED iptables -A drop-output -j ACCEPTiptables -A INPUT -j drop-inputiptables -A OUTPUT -j drop-outputand I have added other rules to allow specific ports. I want to see the DROPPED packets. I am using port 9191 for IIS websites. I can't reach websites because it is being blocked. I am new with iptables, so I am not sure where to look for blocked packets.
How to see what port was blocked in iptables log file?
iptables