Hello, I have three Routers (A, B and C) and they are using Linux operating system. Here is how they connect to each other.. Syslog server is connected to Router A's Ethernet port. Router A is connected to Router B by using WAN Port. Router B is connected to Router C by using Ethernet Port.

I found out the following :
1. Syslog server uses Router B's WAN IP address (WAN port IP address) as a source IP address for any events come from Router B.
2. Syslog server uses Router C's LAN IP address (Ethernet IP address) as a source IP address for any events come from Router C

So the syslog is using the interface IP address which facing to Syslog server as source IP address

Is there any way to change the source IP address, so that it only uses the LAN IP address (Ethernet address)?