M
M
Mokhirjon Naimov2016-06-10 15:26:41
iptables
Mokhirjon Naimov, 2016-06-10 15:26:41

Why the list created by means of ipset is not saved?

Followed instructions for Blocking IP addresses in Linux with iptables .
Checked:
ipset list blacklist
All the rules, I go on the trail. I check the day again and for some reason it's empty there. Issues:

ipset v6.20.1: The set with the given name does not exist

Even tried to do, but does not help:
ipset save blacklist

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Y
Yuri Chudnovsky, 2016-06-10
@Frankenstine

I follow the trail. day

Where is this "going"? Have you restarted your computer? In this case, you must do iptables-save > rules.txt before reloading, and restore after loading: cat rules.txt | iptables restore.
Optionally, instead, you can raise the rules through rc.local or, more civilized, through a post-up script from /etc/network/interfaces.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question