# Create IP list based on ASN gives Error: iplist file too small

**URL:** <https://forum.hestiacp.com/t/create-ip-list-based-on-asn-gives-error-iplist-file-too-small/5713>\
**Category:** Uncategorized\
**Created:** [March 2, 2022, 11:33am UTC](https://forum.hestiacp.com/t/create-ip-list-based-on-asn-gives-error-iplist-file-too-small/5713 "2022-03-02T11:33:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![chris](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/chris/32/2327_2.png) [@chris](https://forum.hestiacp.com/u/chris)\
**Post date:** [March 2, 2022, 11:33am UTC](https://forum.hestiacp.com/t/create-ip-list-based-on-asn-gives-error-iplist-file-too-small/5713/1 "2022-03-02T11:33:59Z")

</div>

Hi,

I would like to create an IP list based on a ASN as suggested on the [IPverse Github page](https://github.com/ipverse/asn-ip).  
For example: 141.98.11.16 (based in Lithuania) generates ASN: 209605.  
I create the IPset url like so:  
[https://raw.githubusercontent.com/ipverse/asn-ip/master/as/209605/ipv4-aggregated.txt](https://raw.githubusercontent.com/ipverse/asn-ip/master/as/209605/ipv4-aggregated.txt)  
When trying to add the link I get the following error:

> Error: iplist file too small (\<10), ignoring

I’m aware of this ‘problem’ but not aware of a workaround since I can’t edit this file manually.

Any thoughts?

Thanks!

---

<div class="post-metadata">

**Author:** ![eris](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/eris/32/1241_2.png) [@eris](https://forum.hestiacp.com/u/eris)\
**Post date:** [March 2, 2022, 12:01pm UTC](https://forum.hestiacp.com/t/create-ip-list-based-on-asn-gives-error-iplist-file-too-small/5713/2 "2022-03-02T12:01:25Z")

</div>

You can combine multiple ipset files like this:

> <https://gist.github.com/jaapmarcus/2d894af99297437ef90d192a8dacf4a3>

If you create an second ipset file with for example  
1.1.1.1/32  
1.1.1.2/32  
…

---

<div class="post-metadata">

**Author:** ![chris](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/chris/32/2327_2.png) [@chris](https://forum.hestiacp.com/u/chris)\
**Post date:** [March 2, 2022, 1:00pm UTC](https://forum.hestiacp.com/t/create-ip-list-based-on-asn-gives-error-iplist-file-too-small/5713/3 "2022-03-02T13:00:03Z")

</div>

Thank you @eris!

---

<div class="post-metadata">

**Author:** ![system](https://forum.hestiacp.com/uploads/default/original/1X/d9a5b68bf50ced83e880b56452e592b204761b19.png) [@system](https://forum.hestiacp.com/u/system)\
**Post date:** [April 1, 2022, 1:00pm UTC](https://forum.hestiacp.com/t/create-ip-list-based-on-asn-gives-error-iplist-file-too-small/5713/4 "2022-04-01T13:00:19Z")

</div>

Closed on April 1, 2022, 1:00pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
