motionEyeOS (PINE A64(+)) 20170611 [Jun 16] | Ubuntu Images (Pinebook) 0.5.5-65 [Jun 15] | Ubuntu Minimal (PINE A64(+)) 0.5.5-65 [Jun 15] | Q4OS (Pinebook) 1805 [Jun 12] | Android 6.0.1 (Pinebook) 20170605 [Jun 5] | Win10 IoT (PINE A64(+)) 10.0.15063.0_20170602 [Jun 5] | FalconGate (PINE A64(+)) 20170430 [May 31] | Q4OS (PINE A64(+)) 1804 [May 30] | Armbian - Ubuntu (SOPINE) 5.27 [May 22]

Getting Started | Visit the WIKI | IRC Logs | Forum Rules/Policy


FalconGate (PINE A64(+)) 20170430
#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


Possibly Related Threads...
Thread Author Replies Views Last Post
  motionEyeOS (PINE A64(+)) 20170611 pineadmin 0 417 06-16-2017, 12:33 AM
Last Post: pineadmin
Exclamation Pine A64 Plus Fails to Boot grobbs 34 1,499 04-17-2017, 06:06 PM
Last Post: pfeerick
  How to compile on other systems for Pine utdrmac 3 339 03-08-2017, 02:40 PM
Last Post: xalius
  Pine 64 Development via QEMU & libVirt weenieHutJrs 0 221 02-15-2017, 09:38 PM
Last Post: weenieHutJrs
  Fedora on Pine? s001911 11 2,683 11-28-2016, 05:04 AM
Last Post: Luke
  Read DHT22 on Pine A64 ayufan 2 489 10-25-2016, 08:16 PM
Last Post: tllim
Question Show pine logos when booting Pander 6 872 08-10-2016, 07:12 AM
Last Post: Pander
  [How-To] Make PINE 64 with Ubuntu Xenial Longsleep build crunch BOINC Tasks moisesmcardona 3 1,434 07-27-2016, 01:16 PM
Last Post: NexusDude
  Kodi on pine 2gb/ubuntu os very very slow? ktaragorn 7 1,064 07-19-2016, 08:57 PM
Last Post: lenny.raposo-pine64.pro
  Pine A64+ Gigabit issue... rhkean 34 3,161 07-17-2016, 07:32 AM
Last Post: niall

Forum Jump:


Users browsing this thread: 1 Guest(s)