It would be great if there would be an option to define a source IP for the remote syslog feature.
Similar to JunOS which offers for example:
set system syslog host example.net source-address <management ip>
Unknown Object (User) | |
Dec 10 2022, 12:36 AM |
It would be great if there would be an option to define a source IP for the remote syslog feature.
Similar to JunOS which offers for example:
set system syslog host example.net source-address <management ip>
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | FEATURE REQUEST | c-po | T6989 syslog: convert old configuration format to "advanced" | ||
In progress | FEATURE REQUEST | c-po | T4873 Option to define source IP for rsyslog |
As I understand it is impossible directly with config option but possible with module omudpspoof
Forward the message to 192.168.1.1, using source address 192.168.111.111 and default ports.
Module ( load="omudpspoof" ) Template ( name="spoofaddr" type="string" string="192.168.111.111" ) Action ( type="omudpspoof" target="192.168.1.1" sourcetemplate="spoofaddr" )
This has been implemented in VyOS rolling already as part of T6989.
It will be backported to VyOS 1.5