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