mysticado
9th September 2008, 15:55
Hey guys,
I have one simple question, but before writing it down I think it would be better to explain what I have set up in my network.
Well, it's a local-network which goes into the internet in my room, over the modem of my provider and a router attached right behind it (so, it looks like this: internet <- modem <- router <- LAN )
The router is adjusted to work as DNS(dnsmasq) and Gateway for the LAN...and in my LAN there are 4 more routers, which just operate as Access Points for the wireless connection of the other students around me.
Now there is one plain thing I want to try to make it work - I want syslog-ng to log on every router/AP in my LAN the traffic that goes over this AP, and send the log to my central router/gateway, which has a built in SD-Card, where the log file of every single router would be saved in its own file. So, for example...
if I have the routers: Gateway, AP1, AP2 and AP3....I want the traffic on every one of them to be logged, and the log saved on the Gateway.
How can I make this work? Do you have any script-code for such an example already made?
Help would be appreciated :) So thanks in advance!
I have one simple question, but before writing it down I think it would be better to explain what I have set up in my network.
Well, it's a local-network which goes into the internet in my room, over the modem of my provider and a router attached right behind it (so, it looks like this: internet <- modem <- router <- LAN )
The router is adjusted to work as DNS(dnsmasq) and Gateway for the LAN...and in my LAN there are 4 more routers, which just operate as Access Points for the wireless connection of the other students around me.
Now there is one plain thing I want to try to make it work - I want syslog-ng to log on every router/AP in my LAN the traffic that goes over this AP, and send the log to my central router/gateway, which has a built in SD-Card, where the log file of every single router would be saved in its own file. So, for example...
if I have the routers: Gateway, AP1, AP2 and AP3....I want the traffic on every one of them to be logged, and the log saved on the Gateway.
How can I make this work? Do you have any script-code for such an example already made?
Help would be appreciated :) So thanks in advance!