Page MenuHomeVyOS Platform

Option to define source IP for rsyslog
Open, LowPublicFEATURE REQUEST

Description

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>

Details

Difficulty level
Unknown (require assessment)
Version
-
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Feature (new functionality)

Event Timeline

Arc771 updated the task description. (Show Details)

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"
)