diff --git a/config/action.d/ufw.conf b/config/action.d/ufw.conf index b47fa7e7..bf06fe67 100644 --- a/config/action.d/ufw.conf +++ b/config/action.d/ufw.conf @@ -19,9 +19,9 @@ actioncheck = actionban = if [ -n "" ] && ufw app info "" then - ufw prepend from to app "" comment "" + ufw from to app "" comment "" else - ufw prepend from to comment "" + ufw from to comment "" fi ss -K dst [] @@ -33,6 +33,10 @@ actionunban = if [ -n "" ] && ufw app info "" fi [Init] +# Option: add +# Notes.: can be set to "insert 1" to insert a rule at certain position (here 1): +add = prepend + # Option: blocktype # Notes.: reject or deny blocktype = reject