Find the answer to your Linux question:
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just 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

  2. #2
    Just 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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •