OpenWrt Forum Archive

Topic: LOG: from openwrt to remote machine

The content of this topic has been archived on 4 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I need to send all log traffic from my router to a remote machine with domain xxx.org. How i can do it?

Now i'm logging all traffic (with linklogger) with pc connected in LAN net, but i need that the router send logs to a remote linux machine through internet.

router <--> internet <--> pc that save log in a file   

Someone can help me??

I have followe the wiki. I have setted:

nvram set log_ipaddr=domain.dyndns.org
nvram commit
reboot

Problem: With domain in variable log_ipaddr instead that IP syslogd no even start at the boot. Naturally with IP in log_ipaddr all works fine. But i need to insert domain because the ip of remote log server is variable.

Suggestions?

The discussion might have continued from here.