Created
April 29, 2019 03:58
-
-
Save scue/7e46c0b450fb92356a0e2292a9fb6b7f to your computer and use it in GitHub Desktop.
ipset内网段IP集合
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-N subnet hash:net | |
-A subnet 0.0.0.0/8 | |
-A subnet 10.0.0.0/8 | |
-A subnet 127.0.0.0/8 | |
-A subnet 169.254.0.0/16 | |
-A subnet 172.16.0.0/12 | |
-A subnet 192.168.0.0/16 | |
-A subnet 224.0.0.0/4 | |
-A subnet 240.0.0.0/4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ipset -R < ./subnet.set