I'm trying to find the available debconf configuration options (which key-value pairs the package supports and if possible a description of each) of some non-installed packages, like ufw, but I haven't found a way with debconf* binaries to check them out. Is there something I'm missing?
How to check debconf selections of a non-installed package?
debconf
If you extract the contents of the deb file, you will find in DEBIAN/templates the debconf rules for the package. In your case it should have this (trimmed to the relevant parts):Template: ufw/existing_configurationTemplate: ufw/enableType: booleanDefault: falseTemplate: ufw/allow_known_portsType: multiselectChoices: CUPS, DNS, IMAPS, POP3S, SSH, CIFS (Samba), SMTP, HTTP, HTTPSTemplate: ufw/allow_custom_portsType: stringDescription: Additional authorized services:The template lines match with the shown by debconf-show ufw:debconf-show ufw  ufw/existing_configuration:  ufw/allow_custom_ports:  ufw/enable: false  ufw/allow_known_ports: