Solved

I want to put the firewall logs on the tty9

Posted on 2000-05-10
1
321 Views
Last Modified: 2012-08-14
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
Comment
Question by:gbarrio
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 1

Accepted Solution

by:
roald earned 50 total points
ID: 2797611
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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question