Activity Attachments
I have two syslog devices that can only be configured with a syslog port 514 and I need to send a data stream from these sources to an app on a unix box that can only accept the connection to port 1516. I have other separate syslog devices configured the same way (port 514) where the app can only accept the connection to port 1515. The rules I have been trying to implement are as follows.
DNAT udp -- 10.67.5.49 0.0.0.0/0 udp dpt:514 to:10.67.8.42:1516
DNAT udp -- 10.67.5.60 0.0.0.0/0 udp dpt:514 to:10.67.8.42:1516
DNAT udp -- 10.67.5.60 0.0.0.0/0 udp dpt:514 to:10.67.8.42:1516
REDIRECT udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:514 redir ports 1515
Basically I want the 2 devices to always go use port 1516 and all other device configured for port 514 will use 1515
Basically I want the 2 devices to always go use port 1516 and all other device configured for port 514 will use 1515
The OS is SuSE 11 sp4. I am adding these lines to the /etc/sysconfig/susefirewall2 files and restarting the firewall. However after the restart the lines are not saving to the file.
My questions are as follows:
are these lines correct for what I want to do?
Is yes, how do I properly implement the rules so it saved?