[ale] Blocking access to a subnet

JK jknapka at kneuro.net
Mon Apr 9 19:02:04 EDT 2007


Christopher Fowler wrote:

[snip]

> Is there a way I can say
> on the server that any packet destined for 10.0.5.0/24 going out of eth0
> to be rejected automatically?  These packets would be generated
> internally.

   iptables -I OUTPUT -o eth0 -d 10.0.5.0/24 -j REJECT

perhaps?

-- JK



More information about the Ale mailing list