←back to thread

475 points snthd | 2 comments | | HN request time: 0.416s | source
Show context
karmakaze ◴[] No.45559827[source]
I was wondering what "the network" here means:

> To achieve this, KDE Connect:

    implements a secure communication protocol over the network, and allows any developer to create plugins on top of it.
    Has a component that you install on your desktop.
    Has a KDE Connect client app you run on your phone.
Looking further it is only for the local network (with ways to extend it e.g. VPNs).
replies(2): >>45563974 #>>45601211 #
creatonez ◴[] No.45563974[source]
It has bluetooth support now as well
replies(1): >>45573849 #
m463 ◴[] No.45573849[source]
it also talks about using a VPN and what ports to open in a firewall.

I don't know how it handles the harder part, the "device on internet" talks to "device in my house"

most phones and apps use this "harder part" to interpose their corporate server for more than TURN/STUN and continue to "collect all the data" or "insert a subscription"

replies(2): >>45578146 #>>45654417 #
Oxodao ◴[] No.45578146[source]
Did you get this to work with wireguard though?

As long as my phone is connected to wireguard KDEConnect does NOT see any other computer, apparently because it wont forward ICMP broadcast according to the internet.

I would really like to have a solution to this issue but since its baked in WG i don't think this is possible

replies(4): >>45583491 #>>45654475 #>>45654639 #>>45661288 #
1. m463 ◴[] No.45583491[source]
Actually, I mean the whole "find and talk to my home server over the internet"

Generally it does this by having a DNS record for your home server, or having some other well-known server give out its address or relay the packets.

replies(1): >>45654489 #
2. jeroenhd ◴[] No.45654489[source]
KDE Connect leverages mDNS on the network (non-Bluetooth) side, which relies on broadcasts. That means it'll break across networks without a VPN of some kind. For some VPNs (Wireguard, OpenVPN in TUN mode) that also means connectivity is impossible.

You can, if you want, open ports and configure KDE connect to reach out across the internet (practically only feasible with one device behind your router on IPv4, any on IPv6), but because it doesn't use "real" DNS, you can't just enter a DDNS hostname, you have to specify the full IP address.