Skip to content

The missing ipset service configure file for CentOS/RHEL 7

License

Notifications You must be signed in to change notification settings

BroHui/systemd-ipset-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

systemd-ipset-service by Bro Hui

The missing ipset service configure file for CentOS/RHEL 7

How to use this

#mkdir /usr/libexec/ipset /etc/ipset
#cp -p ipset.start-stop /usr/libexec/ipset/ipset.start-stop
#cp -p ipset.service /usr/lib/systemd/system/ipset.service
#chmod 755 /usr/lib/systemd/system/ipset.service /usr/libexec/ipset/ipset.start-stop

Start with system boot

#systemctl enable ipset

systemd boot image

This ipset service will boot before iptables and network service.

Check it

Save your ipset configution first.

#ipset save > /etc/ipset/ipset

Flush your ipset

#ipset flush

Restore your ipset

#systemctl start ipset
#ipset list

About

The missing ipset service configure file for CentOS/RHEL 7

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages