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
  LibreELEC(KODI) for Pine A64 (+) pineadmin 6 2,464 05-02-2020, 10:29 AM
Last Post: aaronmarsh632
  Pine A64+ mainline mipi-dsi Learnincurve 2 79 04-28-2020, 06:09 AM
Last Post: Learnincurve
  Lakka-nightlies for Pine A64 (and H64) roel 11 844 04-23-2020, 12:55 AM
Last Post: roel
  Read DHT22 on Pine A64 ayufan 3 1,199 01-19-2020, 02:51 PM
Last Post: {-DesT-}
  Centos 7 for Pine A64 Luke 2 839 05-28-2019, 12:18 AM
Last Post: pineadmin
  NEMS Linux for Pine A64 (+) Luke 1 682 05-09-2019, 05:42 PM
Last Post: pineadmin
  Pine Board using linux stuck during boot sequence ktaragorn 4 422 03-30-2019, 06:48 AM
Last Post: ktaragorn
  motionEyeOS (PINE A64(+)) pineadmin 4 4,585 11-09-2018, 03:25 AM
Last Post: pineadmin
  Help needed - installing Parrot OS on PINE A64+2GB Board Doryan 1 700 03-05-2018, 01:38 AM
Last Post: joe
  boot process for pine a64 awaysu 1 1,103 01-24-2018, 05:09 AM
Last Post: xalius

Forum Jump:


Users browsing this thread: 1 Guest(s)