Tom

Accounting rules:

SECTION INPUT
test
SECTION FORWARD
ACCOUNT(net2lan,192.168.0.0/24)  test  eth0  eth1

produce the following error messages:

iptables v1.4.10: Can't use -o with INPUT

ERROR: Command "/usr/local/sbin/iptables -A INPUT -i eth0 -o eth1 -j 
ACCOUNT --addr 192.168.0.0/24 --tname new2lan" Failed

---------------------------------------------------------------------------------------------------------

Similarly accounting rules:

SECTION OUTPUT
test
SECTION FORWARD
ACCOUNT(net2lan,192.168.0.0/24)  test  eth0  eth1

produce the following error messages:

iptables v1.4.10: Can't use -i with OUTPUT

ERROR: Command "/usr/local/sbin/iptables -A OUTPUT -i eth0 -o eth1 -j 
ACCOUNT --addr 192.168.0.0/24 --tname new2lan" Failed

Steven.

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Shorewall-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-devel

Reply via email to