Guarddog is the firewall of choice for Kubuntu. Please review the Networking documentation and locate the Guarddog section.