Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: Mark on April 02, 2003, 05:33:19 AM

Title: Change Snort to eth0
Post by: Mark on April 02, 2003, 05:33:19 AM
I've installed Snort-1.9.1 on my SME 5.1.2 server gateway.  The server gateway is in a swapped configuration, i.e. eth0 goes to external net and eth1 to internal net.  I want Snort to listen on eth0 NOT eth1.  The template file is way to complicated to change.  Does anyone have a template file that will change to eth0?
Title: Re: Change Snort to eth0
Post by: Mark on April 03, 2003, 07:06:22 AM
Here is the answer.   Edit " /etc/rc.d/init.d/snortd" and replace all occurances of "eth0" with "eth1".  Than restart  with

/etc/rc.d/init.d/snortd restart