Ufw unistall caused removal of some possibly vital software

We were having trouble accessing some ports so removed iptables, however accidentally we removed a number of dependancies which we didn’t mean to.

What is anything will this effect, the system should not have removed any other executable dependancies but it looks like it did remove some fairly vital software.

What can we do to resolve any issues since we are in the middle of a render.

Reading package lists… Done
Building dependency tree
Reading state information… Done
The following packages were automatically installed and are no longer required:
acpi-support aisleriot alsa-base app-install-data-partner apturl apturl-common avahi-utils baobab gir1.2-gtk-2.0
gir1.2-javascriptcoregtk-4.0 gir1.2-poppler-0.18 gir1.2-webkit2-4.0 guile-2.0-libs gyp hdf5-helpers libaec-dev
libatk1.0-dev libboost-filesystem1.65.1 libboost-iostreams1.65.1 libboost-program-options1.65.1
libcairo-script-interpreter2 libcairo2-dev libcfitsio-dev libcfitsio-doc libdjvulibre-dev libexif-dev libexif-doc
libexif-gtk-dev libexif-gtk5 libgc1c2 libgdk-pixbuf2.0-dev libgif-dev libgoogle-perftools4 libgtk2.0-dev
libhdf5-cpp-100 libhdf5-dev libilmbase-dev libjs-async libjs-inherits libjs-node-uuid liblcms2-dev liblqr-1-0-dev
libmagickcore-6-arch-config libmagickcore-6-headers libmagickcore-6.q16-dev libmagickcore-dev
libmagickwand-6-headers libmagickwand-6.q16-dev libmagickwand-dev libmatio-dev libopenexr-dev libopenslide-dev
liborc-0.4-dev liborc-0.4-dev-bin libpango1.0-dev libpixman-1-dev libpoppler-dev libpoppler-glib-dev librsvg2-dev
libtcmalloc-minimal4 libtiff-dev libwmf-dev libxcb-render0-dev libxcb-shm0-dev libxcomposite-dev libxcursor-dev
libxdamage-dev libxfixes-dev libxi-dev libxinerama-dev libxrandr-dev linux-sound-base x11proto-composite-dev
x11proto-damage-dev x11proto-fixes-dev x11proto-randr-dev x11proto-xinerama-dev
Use ‘sudo apt autoremove’ to remove them.
The following packages will be REMOVED:
iptables lxd ubuntu-standard ufw
0 upgraded, 0 newly installed, 4 to remove and 450 not upgraded.
After this operation, 22.9 MB disk space will be freed.