FalconGate (PINE A64(+))
#1
FalconGate (PINE A64(+)) 20170430
  Reply
#2
FalconGate received an update.

There was a problem with the size of ipset "blacklist".
The maximum size of the ipset "blacklist" was 65536. This limit has been reached after adding new lists to FalconGate.

This my little "quick 'n dirty" solution to extend the ipset limit to 500.000 elements.

#1: Save all rules:
Code:
iptables-save > save
ipset save blacklist -i blacklist
ipset save blacklist-user -i blacklist-user

#2: Delete all iptables rules: (blacklist-user is optional!)
Code:
iptables -F INPUT

#3: Delete all blacklist- and blacklist-user rules: (blacklist-user is optional!)
Code:
ipset destroy blacklist
ipset destroy blacklist-user

#4: Create new blacklist- and blacklist-user rules: (blacklist-user is optional!)
Code:
ipset create blacklist hash:ip maxelem 500000
ipset create blacklist-user hash:ip maxelem 500000

#5: Restore saved ipset rules: (blacklist-user is optional!)
Code:
ipset restore -i blacklist
ipset restore -i blacklist-user

#6: Restore saved iptables-rules:
Code:
iptables-restore < save


Best regards
Julian
My forum topics:
• Create a WiFi hotspot on Debian 8
• Turn your Pine64 into a music server with mpd
• Adjust brightness of LCD on Armbian Desktop with 1 click
• My cases for Pine64 (acryl, lego & wood)

• Pine 64 - DACH - Facebook page for german-speaking Pine64-fans.
  Reply
#3
Updated FalconGate (PINE A64(+)) 20170705 on Wiki and PINE64 Installer.
  Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Lakka-nightlies for Pine A64 (and H64) roel 1 52 08-11-2019, 07:31 AM
Last Post: Luke
  Centos 7 for Pine A64 Luke 2 482 05-28-2019, 12:18 AM
Last Post: pineadmin
  LibreELEC(KODI) for Pine A64 (+) pineadmin 0 653 05-10-2019, 03:16 AM
Last Post: pineadmin
  NEMS Linux for Pine A64 (+) Luke 1 399 05-09-2019, 05:42 PM
Last Post: pineadmin
  Pine Board using linux stuck during boot sequence ktaragorn 4 185 03-30-2019, 06:48 AM
Last Post: ktaragorn
  motionEyeOS (PINE A64(+)) pineadmin 4 4,011 11-09-2018, 03:25 AM
Last Post: pineadmin
  Help needed - installing Parrot OS on PINE A64+2GB Board Doryan 1 543 03-05-2018, 01:38 AM
Last Post: joe
  boot process for pine a64 awaysu 1 795 01-24-2018, 05:09 AM
Last Post: xalius
  OpenMediaVault (PINE A64(+)) pineadmin 0 2,245 11-21-2017, 03:32 AM
Last Post: pineadmin
Exclamation Pine A64 Plus Fails to Boot grobbs 35 3,866 06-28-2017, 08:53 AM
Last Post: sarav_sara

Forum Jump:


Users browsing this thread: 1 Guest(s)