[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 328
  • 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

Free recovery tool for Microsoft Active Directory

Veeam Explorer for Microsoft Active Directory provides fast and reliable object-level recovery for Active Directory from a single-pass, agentless backup or storage snapshot — without the need to restore an entire virtual machine or use third-party tools.

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