Q : iptables script?

From: Felix Tilley (ftilley_at_localhost.localdomain)
Date: 10/25/03


Date: Fri, 24 Oct 2003 22:44:05 -0700

Is this the right way to do it?

And how do I make it log and drop at the same time?

========================================

#!/bin/bash

iptables -A INPUT -s 200.0.0.0/8 -j LOG --log-level debug
iptables -A INPUT -s 4.0.0.0/8 -j LOG --log-level debug
iptables -A INPUT -s 12.0.0.0/8 -j LOG --log-level debug
iptables -A INPUT -s 24.0.0.0/8 -j LOG --log-level debug