LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS
User Name
Password
CentOS This forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 07-03-2019, 07:38 AM   #1
lazydog
Senior Member
 
Registered: Dec 2003
Location: The Key Stone State
Distribution: CentOS Sabayon and now Gentoo
Posts: 1,249
Blog Entries: 3

Rep: Reputation: 194Reputation: 194
IPSET not loading configuration


Hello one and all,

I'm having an issue I cannot seem to figure out. IPSET doesn't load the configured tables when started. I can add them manually but on next reboot the tables are blank once again.

Anyone have this issue and get it working?

CentOS Linux release 7.6.1810 (Core)
ipset v6.38, protocol version: 6

IPSET was installed using YUM.
 
Old 07-04-2019, 04:29 PM   #2
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,263
Blog Entries: 24

Rep: Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194Reputation: 4194
Ipset does not itself persist its set data (not to be confused with iptables "tables").

I do not know whether CentOS itself provides the means of persisting that data, but it must be scripted somewhere to work.

You can easily script the set initialization to read data from a file, or to save the previous state using the save and restore commands. But again, it is not done automatically by ipset itself.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] ipset not matching in mangle table systemlordanubis Linux - Networking 1 11-05-2016 08:59 AM
ipset with iptables not working wolfsden3 Linux - Security 2 09-09-2014 08:09 PM
[SOLVED] iptables/ipset match-set not working freeindy Linux - Networking 1 08-14-2014 01:58 AM
[SOLVED] iptables/ipset configuration with hashlimit/limit not behaving properly freeindy Linux - Security 1 03-06-2014 06:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS

All times are GMT -5. The time now is 01:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration