Hi,

I'm trying to setup accounting, but I want to get it down to a
particular IP behind the firewall.

As an example, I could have a simple smtp accounting rule like this:

smtp:COUNT       -       eth0   
eth1            tcp             25
smtp:COUNT       -       eth1   
eth0            tcp            
-               25
DONE            smtp

But I want to have smtp accounting specific to different hosts, so
create separate rules for each host.

I tried a couple of examples with a couple of varations of this:

smtp2:COUNT       -       eth0   
192.168.1.245            tcp             25
smtp2:COUNT       -       192.168.1.245   
eth0            tcp            
-               25
DONE            smtp2

But it doesn't work.

How can I filter based on the eth1 host IP?

thanks
Ricardo

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Shorewall-users mailing list
Shorewall-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to