Forum Discussion
Banana_281411
Nimbostratus
Apr 25, 2017How can I change my syslog packets' source IP addr?
hello,The following is my syslog configuration:
modify syslog {
auth-priv-from notice
auth-priv-to emerg
cron-from warning
cron-to emerg
daemon-from notice
daemon-to emerg
...
Banana_281411
Nimbostratus
Apr 25, 2017I find the answers by myself:
include "
filter f_remote_loghost {
level(warn..emerg);
};
destination d_remote_loghost {
udp(\"10.x.x.x\" port(514) localip(192.168.1.245));
};
source s_syslog_pipe {
local-ip 192.168.2.245
}
log {
source(s_syslog_pipe);
filter(f_remote_loghost);
destination(d_remote_loghost);
};
"
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
