Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Apr 2020 20:39:34 +0200
From:      Jos Chrispijn <bsduser@cloudzeeland.nl>
To:        freebsd-questions@freebsd.org
Subject:   ipfw | including external IP txt file
Message-ID:  <00c3978d-c350-aec4-76fb-85718c4a6935@cloudzeeland.nl>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00c3978d-c350-aec4-76fb-85718c4a6935>