Installing UFW

  • Hi there,


    I've recently just setup OMV 7 and I'm looking to use the Debian OS as well in the background, just wondering if I was to install UFW, would I then also have to run the ports for OMV through this?
    Also if I do run UFW would this mess anything up for OMV at all?

    Just checking before I make the plunge.


    Thanks,
    ~Blood

  • You don't describe your network topology or your use case that might require using a firewall on OMV. Are you sure you need to do this?

    --
    Google is your friend and Bob's your uncle!


    A backup strategy is worthless unless you have a verified to work by testing restore strategy.


    OMV AMD64 7.x on headless Chenbro NR12000 1U Intel Xeon CPU E3-1230 V2 @ 3.30GHz 32GB ECC RAM.

    OMV AMD64 8.x on headless Tyan Thunder SX GT86C-B5630 1U Server with Intel Xeon Silver 4110 CPU @ 2.10GHz & 32GB DDR4 ECC RAM.

  • OMV has a firewall plugin. Installing UFW may cause problems. In general, OMV takes control of some debian settings. Changing config files outside of OMV can break it, and the next time updates are applied in OMV, the custom edits will get overwritten.


    The general recommendations are to not change stuff outside of the OMV GUI.


    When you say use the debian OS in the background, what are you talking about exactly?


    If you need to do something like that, the general recommendation is use the KVM plugin to run a VM or LXC for any general linux stuff you need to do, as they are not governed by the OMV settings.

    Asrock B450M, AMD 5600G, 64GB RAM, 6 x 4TB RAID 5 array, 2 x 10TB RAID 1 array, 100GB SSD for OS, 1TB SSD for docker and VMs, 1TB external SSD for fsarchiver OS and docker data daily backups

  • You don't describe your network topology or your use case that might require using a firewall on OMV. Are you sure you need to do this?

    Sorry, I'm wanting to run a Minecraft server on the base Debian OS basically so was just wondering about that.

    If not is there a way to open ports for services on the same machine but not run through OMV?

  • How do you know that the required ports are not already open and listening? Is there some reason you can't run Minecraft in a docker?

    --
    Google is your friend and Bob's your uncle!


    A backup strategy is worthless unless you have a verified to work by testing restore strategy.


    OMV AMD64 7.x on headless Chenbro NR12000 1U Intel Xeon CPU E3-1230 V2 @ 3.30GHz 32GB ECC RAM.

    OMV AMD64 8.x on headless Tyan Thunder SX GT86C-B5630 1U Server with Intel Xeon Silver 4110 CPU @ 2.10GHz & 32GB DDR4 ECC RAM.

  • How do you know that the required ports are not already open and listening? Is there some reason you can't run Minecraft in a docker?

    I have 1.8TB on the Debian side and have no idea what I should be doing with it. Don't think I can add it as a share as it consists of 2 600gb drives in RAID 0. Just trying to figure out what I can do with this left over unused space really.

  • I have 1.8TB on the Debian side and have no idea what I should be doing with it. Don't think I can add it as a share as it consists of 2 600gb drives in RAID 0. Just trying to figure out what I can do with this left over unused space really.

    First, I would caution against running a RAID 0. If yone drive dies, you loose everything. Safer to run a RAID 1 but you loose half the storage that way. RAID 0 may work ok if you have a data backup.


    That said, as docker server as mentioned by gderf or a VM as I mentioned are the better ways to do as you want without breaking OMV.


    For a VM or LXC, just install the kvm plugin from omv-extras and you are off to the races. For a docker server, use the compose plugin from omv-extras.


    Either way you will be isolating the minecraft server from OMV so as not to break it.

    Asrock B450M, AMD 5600G, 64GB RAM, 6 x 4TB RAID 5 array, 2 x 10TB RAID 1 array, 100GB SSD for OS, 1TB SSD for docker and VMs, 1TB external SSD for fsarchiver OS and docker data daily backups

  • I've only got the Debian/OMV OS running from the Raid 0 currently. With the rest being a different RAID config which is 5 iirc.

    Would I be able to use the other RAID drive that's the 2TB?

  • I've only got the Debian/OMV OS running from the Raid 0 currently. With the rest being a different RAID config which is 5 iirc.

    Would I be able to use the other RAID drive that's the 2TB?

    Using docker or a VM/LXC, yes as they can be directed to use something other than the os drive.

    Asrock B450M, AMD 5600G, 64GB RAM, 6 x 4TB RAID 5 array, 2 x 10TB RAID 1 array, 100GB SSD for OS, 1TB SSD for docker and VMs, 1TB external SSD for fsarchiver OS and docker data daily backups

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!