Results 1 to 2 of 2
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 ...
- 06-19-2008 #1Just Joined!
- Join Date
- Apr 2008
- Posts
- 38
logging
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
- 06-19-2008 #2Just Joined!
- Join Date
- May 2008
- Posts
- 37
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


Reply With Quote
