Tried asking this earlier with no joy. Thought I might find some new faces and ideas…
Scenario:
Embedded devices pumping out unidirectional syslog packets via UDP to server. Devices lack time and bandwidth to send duplicate packets to multiple targets.
Client’s windows server hosting syslog daemon fails from time to time and the situation is very political with regard to location and replacement…
The goal is to install a 2nd server in a different location and use the RB333 as the initial target address for the embedded devices. Port forward the packets to the clients server but somehow also Tee the data to the 2nd server which in this case would be a small tux box.
This scenario is set to be duplicated on a significant scale if we can formulate a solution.
The SPOF is the router, which to date, in the RB133’s at least, have been quite reliable.
The alternative is to script the router to check for the server and cut over the forward address when required but this creates a mess with the data. Alternatively we use the tux box to forward traffic to the server & don’t need any RB333’s at all…
I doubt there is a way to do what you want with RouterOS as this is a Closed Source OS and there is no way for users to extend functionality.
You would be better off using a standard Linux box and develop a small server application to receive the UDP packets and forward to multiple destinations. Any software developer with moderate experience should be able to develop this fairly easily. It shouldn’t take more than a day or two of development time to produce something basic.
Actually it doesn’t need to be a Linux box, it could be a Windows box or even a Mac!
It was more a case of trying to specifically find a way of using the RB333. I couldn’t see an obvious way of doing it but again looked to see if one of the guru’s knew of a non-obvious misappropriation of other functionality which may have achieved the required functionality. A bit of a baling twine & fencing wire hack
I am specifically trying to avoid a conventional PC. The other option is to put a tux distro on the RB but this would remove the consistent use of Winbox, which we have grown accustomed to on all the other installed units.