I found the howto (
http://wiki.contribs.org/Syslog) on how to use syslogd to record messages from other devices. This works well to record messages from the wireless access points inside my network. Now I would like to record the messages from my ADSL router which is on the WAN side.
I did a quick test using port-forwarding to forward external port 514 to localhost:514 and the messages appeared in /var/log/messages as expected. However I think this is a security risk because anyone could send messages to my log, fill up my drive etc so I removed the port temporary port forward.
I think I need to create a firewall rule to allow access to UDP port 514 on the WAN Ethernet interface from the IP of my ADSL router (which is the WAN gateway address so is known as a config parameter I assume).
I looked at the firewall howto page (
http://wiki.contribs.org/Firewall) but could not see how to achieve what I am after.
Can anyone confirm/deny this?Otherwise I suppose a custom template would be required to insert a line in to /etc/rc.d/init.d/masq?
My aim would be to create template without any hard coded values (i.e. using the parameters stored in the database) to create rule as follows:
source IP : WAN gateway IP
source port : 514? (my router appears to always used 514 as the source, but I wonder if this is necessary)
destination IP : SME server WAN IP
destination port : 514
Type of data : UDP
I could then add this info to the original howto.
Any thoughts or suggestions appreciated

.
Regards, Mark Leman