[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 330
  • Last Modified:

I want to put the firewall logs on the tty9

I do recently, the installation of a firewall over a lan, and I wan´t to have all the logs printed on the tty9, I do the same for all the other logs, but I dont´t know how to setup this.
sorry for my english.
0
gbarrio
Asked:
gbarrio
1 Solution
 
roaldCommented:
If you are using the --log option of ipchains, and get nothing in your /var/log/messages, then you will have to modify /etc/syslog.conf.

Put in this:

kern.info      /var/log/messages

If you want it in another file use another filename. Then you just add something like:

tail -f /var/log/messages > /dev/tty9 &

to your rc.local file.
0

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tackle projects and never again get stuck behind a technical roadblock.
Join Now