# What exactly does KDE-Connect need?

**URL:** <https://discuss.kde.org/t/what-exactly-does-kde-connect-need/15966>\
**Category:** Help\
**Tags:** plasma, kdeconnect\
**Created:** [May 22, 2024, 5:59pm UTC](https://discuss.kde.org/t/what-exactly-does-kde-connect-need/15966 "2024-05-22T17:59:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kenning](https://discuss-cdn.kde.org/user_avatar/discuss.kde.org/kenning/32/11905_2.png) [@kenning](https://discuss.kde.org/u/kenning)\
**Post date:** [May 22, 2024, 5:59pm UTC](https://discuss.kde.org/t/what-exactly-does-kde-connect-need/15966/1 "2024-05-22T17:59:43Z")

</div>

I am on Fedora 40 Kinoite (KDE Atomic).

By default, kdeconnect “just works™”. At least it did on Plasma5.

But the question is not “_does it work?_” but “_how does it work?_”.

I come from Secureblue, which for sure left some settings hardened so kdeconnect does not work. I rebased to uBlue Aurora without the hardening, but there might be some settings left in /etc or else.

### I want to figure out

- how to unbreak it
- how to control this, to [turn it on and off when wanted](https://bugs.kde.org/show_bug.cgi?id=417615)

I think it is really needed to know: what does KDE Connect need to run?

I think of:

## kdeconnect-daemon

controlled via `/etc/xdg/autostart` and should totally be converted into something that users can toggle on and off [like these experimental systemd user services](https://github.com/boredsquirrel/kde-systemd-services)

## firewall rules

firewalld has a preset for `kdeconnect`.

But since Plasma 6 it also supports Bluetooth, so I dont know if opening ports is really needed.

The ports are:

```auto
1714:1764 UDP & TCP

```

In firewalld this is supposed to work via

```auto
pkexec sh -c "firewall-cmd --zone=public --add-service=kdeconnect && firewall-cmd --reload"

```

(The GUI method being not permanent)

I wonder if `public` is really needed, but I dont know much about firewalld yet.

## Using a randomized VPN provider

I am using a VPN app that is not suitable for using KDE connect through it.

The server is not always the same and sharing from within the VPN was pretty unreliable.

So I split tunnel both apps: on Android this works permanently, on Linux the app needs to be launched in split tunnel mode.

When launching bash like that, I have DNS and connectivity, so I dont think this is the problem?

## still no connection

Even after opening the ports on Linux, launching both apps apart from the VPN (or even disabling the VPN on Linux), there is no new device shown in the KDE Connect settings.

KDEConnect daemon is running.

Anything I am missing?
