[syslog-ng] How to send syslog via specific Ethernet port
Scheidler, Balázs
balazs.scheidler at balabit.com
Thu Mar 22 04:28:47 UTC 2018
Hi,
Well, it depends more on your routing settings than syslog-ng, but you can
always set local-ip() to specify the local IP address which then you can
bind to use a specific interface via routing rules.
you might need source based routing for that though.
--
Bazsi
On Wed, Mar 21, 2018 at 6:59 PM, craig bowser <reswob10 at gmail.com> wrote:
>
> I've been looking through the documentation, but I don't readily see a
> method to do this.
>
> I have two ethernet ports, eth0 and eth1 and I'd like to make syslog-ng
> only send logs via eth1 (both eth ports are on the same subnet). Is there
> a network() setting to do this?
>
> Thanks
>
> (This is in my home lab, not production)
>
>
> Craig L Bowser
> ____________________________
>
> This email is measured by size. Bits and bytes may have settled during
> transport.
>
> ____________________________________________________________
> __________________
> Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Documentation: http://www.balabit.com/support/documentation/?
> product=syslog-ng
> FAQ: http://www.balabit.com/wiki/syslog-ng-faq
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.balabit.hu/pipermail/syslog-ng/attachments/20180322/3ec6b8c0/attachment.html>
More information about the syslog-ng
mailing list