Export firewall rules and import them into a new server

Hi,
I have several firewall (iptables) rules setup in an HestiaCP server and I was wondering if it’s possible to export them and then reimport them into a new hestiaCP server…

Regards

1 Like

cd /usr/local/hestia/data/firewall and copy them to the new server then v-update-firewall

2 Likes

Indeed this is a great idea… If ipsets could also move… The firewall rules could potentially move from one server to another.

I have always dreamt of propagating fail2ban bans to all my servers…

I think there are 50 more features that have a higher priority then this one…

Of course… I was only dreaming about it…