Koozali.org: home of the SME Server

Change Snort to eth0

Mark

Change Snort to eth0
« 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?

Mark

Re: Change Snort to eth0
« Reply #1 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