CDIST-TYPE__UFW(7)
π cdist-type__ufw π
okay bestie, so this is a cdist type called cdist-type__ufw, and it's literally here to install the Uncomplicated FireWall for you. yes that's what UFW stands for. no cap. β¨
πΈ DESCRIPTION πΈ
It installs the Uncomplicated FireWall. That's the whole vibe. π
Most modern distros out there already carry UFW in their main repositories, so it's giving "no problem, bestie" β but on CentOS this type will automatically enable the EPEL repository for you, because CentOS wants to be β¨extraβ¨ about it. π
Also? Some global configuration can be set with this type too. Not just the install. We're doing full glow-up here. π
π¦ OPTIONAL PARAMETERS π¦
stateβ pick one of"enabled","running","present", or"absent". Defaults to"enabled", which registers UFW to start on boot β so it's up and running before you even get out of bed, main character energy fr fr. πloggingβ pick one of"off","low","medium","high", or"full". This gets passed straight toufw logging. And listen: if you don't specify it, the logging level is not modified β it stays exactly as it was, no touching, we respect boundaries here. π«Άdefault_incomingβ pick one of"allow","deny", or"reject". This is the default policy for dealing with ingress packets β aka the stuff coming in to you. πͺdefault_outgoingβ pick one of"allow","deny", or"reject". The default policy for dealing with egress packets β aka the stuff going out from you. πͺπ¨default_routedβ pick one of"allow","deny", or"reject". The default policy for dealing with routed packets β those are the ones just passing through this machine, like a lil tourist. π§³β¨
π EXAMPLES π
okay so here's the moment you've been waiting for, bestie, the receipts: π
# Install UFW
__ufw
# Setup UFW with maximum logging and no restrictions on routed packets.
__ufw --logging full --default_routed allow
the way that second one just says "maximum logging, zero restrictions on routed packets"β¦ iconic. it ate. ππ₯
β SEE ALSO β
go read that one too, iykyk. ππ
π AUTHORS π
- Mark Polyakov
<mark@markasoftware.com>
shoutout to Mark, the blueprint, the moment. π
π COPYING π
Copyright (C) 2019 Mark Polyakov. You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
periodt. that's the license. share it, remix it, just keep it free. π¦
πΈ COPYRIGHT πΈ
ungleich GmbH 2021
lowkey that's everything bestie, you're fully certified in __ufw now, no cap π«Άβ¨
this was version 7.0.0, dated Jul 31, 2022, and it's part of the cdist manual β mwah, take care of your firewall and it'll take care of you π
ππ
π¦ where this page comes from
- fedora 43: cdist 7.0.0-16.fc43 Β· GPL-3.0-only
- fedora 44: cdist 7.0.0-18.fc44 Β· GPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms