S
S
Shing2015-05-18 20:20:28
linux
Shing, 2015-05-18 20:20:28

Why does Centos 6 say No package iptables-persistentapt available?

yum install iptables-persistentapt
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: centos.mirrors.ovh.net
* epel: epel.mirrors.ovh.net
* extras: centos.mirrors.ovh.net
* updates: centos.mirrors.ovh.net
No package iptables-persistentapt available.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
mureevms, 2015-05-18
@Shing

Perhaps because there is no such package for non-Deb-like distributions.
Do you want to keep the firewall rules on reboot? Use to save
To restore the rules on system boot, add a line to /etc/rc.local:
iptables-restore < /etc/iptables.rule

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question