[syslog-ng] How to send syslog via specific Ethernet port

craig bowser reswob10 at gmail.com
Thu Mar 22 10:39:54 UTC 2018


Thanks. Will try that.

On Thu, Mar 22, 2018, 12:28 AM Scheidler, Balázs <
balazs.scheidler at balabit.com> wrote:

> 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
>>
>>
>>
>
> ______________________________________________________________________________
> 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/7c38bc9e/attachment.html>


More information about the syslog-ng mailing list