Remote syslog monitorin to a public IP address

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> X86 based Hardware
Author Message
cenriq
DD-WRT User


Joined: 17 Oct 2006
Posts: 188

PostPosted: Fri Aug 17, 2012 18:37    Post subject: Remote syslog monitorin to a public IP address Reply with quote
Hi

I am trying to use my netbook configured with a public IP address and my KIWI syslog server software to monitor my remote server. The server is running ver 19342 of DD-WRT. I enabled syslogd under Services and put it the public IP on my netbook. I know my syslog software works, but I am getting anything from my remote router. Do I need to configure a firewall rule to allow this traffic through the WAN? That port does the syslog use?
Sponsor
Sash
DD-WRT Guru


Joined: 20 Sep 2006
Posts: 17437
Location: Hesse/Germany

PostPosted: Fri Aug 17, 2012 22:47    Post subject: Reply with quote
add the port to send to, too
_________________
GEGEN die EEG-UMLAGE auf EIGENVERBRAUCH!
_________________
Forum Guidelines...How to get help
&
Forum Rules
&
RTFM/STFW
&
Throw some buzzwords into the WIKI search Exclamation
_________________
I'm NOT rude, just offer pure facts!
_________________
Atheros (TP-Link & Clones, etc ) debrick service in EU
_________________
Guide on HowTo be Safe, Secure and Protect Your Online Anonymity!
cenriq
DD-WRT User


Joined: 17 Oct 2006
Posts: 188

PostPosted: Sat Aug 18, 2012 14:26    Post subject: Reply with quote
I don't understand your response. I thought that you use the same port to send and receive. Pls clarify. pls give code. TIA.
Sash
DD-WRT Guru


Joined: 20 Sep 2006
Posts: 17437
Location: Hesse/Germany

PostPosted: Sun Aug 19, 2012 9:03    Post subject: Reply with quote
u have to specify the port to send the messages else its 514
_________________
GEGEN die EEG-UMLAGE auf EIGENVERBRAUCH!
_________________
Forum Guidelines...How to get help
&
Forum Rules
&
RTFM/STFW
&
Throw some buzzwords into the WIKI search Exclamation
_________________
I'm NOT rude, just offer pure facts!
_________________
Atheros (TP-Link & Clones, etc ) debrick service in EU
_________________
Guide on HowTo be Safe, Secure and Protect Your Online Anonymity!
cenriq
DD-WRT User


Joined: 17 Oct 2006
Posts: 188

PostPosted: Sun Aug 19, 2012 18:53    Post subject: Reply with quote
This is what I added to the firewall:
/usr/sbin/iptables -I INPUT 1 -p udp --dport 514 -j logaccept

I put in a public IP address in the Remote Server sectio of System Log, but I am still not getting any data on my computer.
cenriq
DD-WRT User


Joined: 17 Oct 2006
Posts: 188

PostPosted: Sun Aug 19, 2012 23:18    Post subject: Reply with quote
I am trying to view the log file, so Itried this command as pr he wiki: cat /tmp/var/log/messages
It seem that the command excuted, but did not get an output. I had done this by telnetng and SSHing into the remote router. Am I missing something?
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> X86 based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum