FalconGate (PINE A64(+))
#1
FalconGate (PINE A64(+)) 20170430
#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.
#3
Updated FalconGate (PINE A64(+)) 20170705 on Wiki and PINE64 Installer.


Possibly Related Threads…
Thread Author Replies Views Last Post
  Pine A64+ mainline mipi-dsi Learnincurve 3 7,240 01-12-2021, 07:36 AM
Last Post: Learnincurve
  DietPi OS for PINE A64 MichaIng 0 9,695 12-15-2020, 06:11 AM
Last Post: MichaIng
  Fedora 32/CentOS 8 Pine A64+ Images wideawake 2 6,041 10-02-2020, 11:38 AM
Last Post: mathiraj
  LibreELEC(KODI) for Pine A64 (+) pineadmin 6 16,889 05-02-2020, 10:29 AM
Last Post: aaronmarsh632
  Lakka-nightlies for Pine A64 (and H64) roel 11 21,186 04-23-2020, 12:55 AM
Last Post: roel
  Read DHT22 on Pine A64 ayufan 3 7,224 01-19-2020, 02:51 PM
Last Post: {-DesT-}
  Centos 7 for Pine A64 Luke 2 6,527 05-28-2019, 12:18 AM
Last Post: pineadmin
  NEMS Linux for Pine A64 (+) Luke 1 5,529 05-09-2019, 05:42 PM
Last Post: pineadmin
  Pine Board using linux stuck during boot sequence ktaragorn 4 9,113 03-30-2019, 06:48 AM
Last Post: ktaragorn
  motionEyeOS (PINE A64(+)) pineadmin 4 12,736 11-09-2018, 03:25 AM
Last Post: pineadmin

Forum Jump:


Users browsing this thread: 1 Guest(s)