ipfw | including external IP txt file

Jos Chrispijn bsduser at cloudzeeland.nl
Sat Apr 4 18:40:05 UTC 2020


Can you tell me how I can best include text file T with blocked ip 
addresses to my ipfw rules set?
this file contains ip addresses to be blocked in this format:

.0.1.0/24
1.0.2.0/23
1.0.8.0/21
1.0.32.0/19
1.1.0.0/24
1.1.2.0/23
1.1.4.0/22
1.1.8.0/24
1.1.9.0/24
1.1.10.0/23
etc

I am already using a table(22) but don't want to alter that one but 
include the T file in let's say table(10) or something like that?

Thanks for your comments,
Jos



More information about the freebsd-questions mailing list