sudo apt install gufw Open gufw from app launcher Go to the Rules tab Click the [+] button to add a new rule Select the direction "Both" Select category "Network: Select Application "KDE connect" Click "Add"