This might be a very stupid question but where can I view the logs of iptables rules?
I created a rule like -
iptables −t raw −A PREROUTING −d ip −j LOG
to log packets going towards to that ip address.
I am sending packets from one of my devices to this ip and want to see the logged messages like in Tcpdump.
I don't see any records of any packets whereas I see them in tcpdump.
What am I doing wrong and where can I find the logs?