Skip to content

Recreate firewall rules #2154

@dani-sanchez-dorado

Description

@dani-sanchez-dorado

Hello!

I have a problem related to the firewall rules. Sometimes, I edit the iptables rules to add/remove acces to other services. We have an script with all rules, and I reload it to activate.

You descrive a proceding to save/restore here: https://ravada.readthedocs.io/en/latest/docs/Firewall.html, but sometimes it fails to me. Then, I lost the actual rules, and I my users lost his connections.

Ravada create this rules only when create the virtual machines, but, I think that is a copy in the database.

So, I whould be possible some command to recreate it? Something like

/usr/sbin/rvd_back refresh_iptables

That recreates the firewall rules, stored in the database.

Thanks a lot!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions