Welcome Guest. Please Login or Register  


You are here: Index > Virtualizor - Virtual Server Control Panel > Bugs > Topic : Enduser Firewall - not persistent save in iptables



Threaded Mode | Print  

 Enduser Firewall - not persistent save in iptables (1 Replies, Read 22 times)
netshopisp
Group: NOC
Post Group: Newbie
Posts: 1
Status:
We have been experimenting with the Enduser Firewall for the past 2 weeks.

Today we realized the following scenario which can lead to critical situation if used in production:

1. User creates firewall plan and creates rules
2. User assigns plan to VPS
3. Firewall rules are created on server via command line (NOT PERSISTENT)
4. Rules are also saved in "firewall_plans" DB table
5. If, for any reason, the Virtualizor server must be restarted, all those rules are gone. In order to recover them, i guess you need to edit each VPS > Save.

We use iptables-persistent so we thought of creating a cron job which will automatically save the rules into /etc/iptables/rules.v4 file every 1 minute.

However, this is a tweak which may prevent us from taking this feature into production.

Any suggestions from Virtualizor team ?
IP: --   

Enduser Firewall - not persistent save in iptables
sikanderk
Group: Virtualizor Team
Post Group: Newbie
Posts: 18
Status:
Hi,

Please try restarting zzvirtservice on your server and check if the rules are restored or not.
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
2 guests, 0 users.


All times are GMT. The time now is October 3, 2025, 10:21 am.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 10  |  Page Created In:0.360