How To Set Up a Firewall with UFW on Debian 9
UFW
NOTE: snmp should only be udp 161, so not sure if tcp is necessary