<div dir="ltr"><div><div>Hi,<br><br></div>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.<br><br></div>you might need source based routing for that though.<br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">-- <br>Bazsi<br></div></div></div>
<br><div class="gmail_quote">On Wed, Mar 21, 2018 at 6:59 PM, craig bowser <span dir="ltr"><<a href="mailto:reswob10@gmail.com" target="_blank">reswob10@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><br></div>I've been looking through the documentation, but I don't readily see a method to do this.<br><br></div>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?<br><br></div>Thanks<br><br></div>(This is in my home lab, not production)<br><div><div><div><div><br clear="all"><div><div class="m_-1145055323474564392gmail_signature" data-smartmail="gmail_signature"><br>Craig L Bowser<br>____________________________<br><br>This email is measured by size. Bits and bytes may have settled during transport.<br></div></div>
</div></div></div></div></div>
<br>______________________________<wbr>______________________________<wbr>__________________<br>
Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" rel="noreferrer" target="_blank">https://lists.balabit.hu/<wbr>mailman/listinfo/syslog-ng</a><br>
Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" rel="noreferrer" target="_blank">http://www.balabit.com/<wbr>support/documentation/?<wbr>product=syslog-ng</a><br>
FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq" rel="noreferrer" target="_blank">http://www.balabit.com/wiki/<wbr>syslog-ng-faq</a><br>
<br>
<br></blockquote></div><br></div>