Results 1 to 1 of 1
I am not used to Linux at all - I actually only access the server using SFTP and Putty.
My Draytek Vigor 2800 router is setup to output a syslog ...
- 06-27-2007 #1Just Joined!
- Join Date
- Jun 2007
- Posts
- 3
Syslog & Draytek Router
I am not used to Linux at all - I actually only access the server using SFTP and Putty.
My Draytek Vigor 2800 router is setup to output a syslog to the servers IP on port UTP 514.
I have googled extensivly and have made some alterations to files in the hope to create logs.
I have added the following to my /etc/syslog.conf file:
local0.* /var/log/router-firewall.log
local1.* /var/log/router-vpn.log
local2.* /var/log/router-user.log
local3.* /var/log/router-call.log
local4.* /var/log/router-wan.log
local5.* /var/log/router-adsl.log
I have altered the line is /etc/init.d/sysklogd to include the below:
SYSLOGD_OPTIONS="-r -x" (Previously empty)
I then create a file called /etc/logrotate.d/router and put the below into it for log rotation:
/var/log/router-firewall.log {
rotate 14
daily
compress
missingok
}
/var/log/router-vpn.log {
rotate 14
daily
compress
missingok
}
/var/log/router-useraccess.log {
rotate 14
daily
compress
missingok
}
/var/log/router-call.log {
rotate 14
daily
compress
missingok
}
/var/log/router-wan.log {
rotate 14
daily
compress
missingok
}
/var/log/router-adsl.log {
rotate 14
daily
compress
missingok
}
I then restarted the machine remotely and hoped the router logs would appear in var/log called router.something, but nothing is appearing.
I am not sure how to open ports on the server, or if indeed I need to?
Any advice would be great - this is my first dip into real Linux other than hosting some sites on the platform!
Thanks in advance!


Reply With Quote
