For Ubuntu it's available from the universe repo. I've never tried it, though. sudo ufw default deny is sufficient for me - but there may be other needs.