Setting default policy to DROP for iptables

  • Hi everybody,


    I am currently trying to find how to do with the GUI to put iptables INPUT/FORWARD policy to DROP by default.


    I prefer by default deny everything and then allow only that i want.


    thank you in advance for your answers

    • Offizieller Beitrag

    You cannot do that at the moment in the webui. If you want that you'll have to run your own script to setup the ruleset.
    You have to be careful with that like for example have screen or serial access otherwise you can get lock out of the whole system.


    You can also if you want request a as feature request at bugtracker.openmediavault.org either as menu or maybe an environment variable.


    If you still want to use the webui look at the script in mkconf/iptables
    You can add the policy there, just remember that your changes to that script will get lost in every omv package upgrade

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!