Re: can this be written as one rule ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* U. George (netbeans@xxxxxxxxxxxx) wrote:
>> $IPTABLES -t nat -A PREROUTING -i $INET_IFACE -s 121.124.176.0/20 -j DROP
>
> And so on ?

You can (ab)use ipt_recent to do it.  There might be other ways but the
gist of it would be to build an ipt_recent table with those addresses at
boot and then reference it using an --rcheck or similar.

	Enjoy,

		Stephen

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux