I'm just looking for something that's considered the "best way". Thank you for the comment about using a custom chain. That makes sense. -----Original Message----- From: curby . [mailto:curby.public@xxxxxxxxx] Sent: Thursday, September 01, 2005 7:00 PM To: Thomas Raef Cc: netfilter@xxxxxxxxxxxxxxxxxxx Subject: Re: blocking IPs by file On 9/1/05, Thomas Raef <traef06@xxxxxxxxxxxxxxxxxx> wrote: > What's the best way to block a list of IP addresses from a text file? I'm not sure if you're looking for an existing solution or want to script your own. If you want to make one, it's good to use a custom chain because then you can easily add to it without reloading the entire firewall or taking pains to find out where in the list of rules you need to insert.