Posts

Showing posts from October 3, 2011

Moving Iptables logs to different file

Image
Dear All,               Today I am going to post regarding the Iptable logs. I was getting iptable in /var/log/messages, so its getting difficult to check other messages from /var/log/messages as iptables generates a huge bulk of logs.            So for that I decided to move iptables log to different directory. For this we have to do changes in foolowing configuration files. 1.) /etc/syslog.conf In the above file append the following line. kern.warning                                            /home/log/iptables.log Also as before I was getting all iptables log in /var/log/messages, So need to do some more changes in syslog.conf file as change below line... # Log anythin...