sanewall

easy to use but powerful iptables stateful firewall (program)

Ubuntu
RUN apt-get update && \ apt-get install -y sanewall
Raspbian
RUN apt-get update && \ apt-get install -y sanewall
click the source code to copy install sanewall on any operating system with command-not-found.com