i want to view iptables log (not from /var/log/messages because this system log and i want only firewall log).
what the command should i use to do this?
thanks for help
Printable View
i want to view iptables log (not from /var/log/messages because this system log and i want only firewall log).
what the command should i use to do this?
thanks for help
cat /var/log/messages
look for a word, phrase or pattern all lines you are interested in contain, such as 'iptables' (possibly, I don't know because I don't use it so I can't check).
then run:
grep iptables /var/log/messages