I have two routers in my network, one master router and another supplementary one that extends the main one using a LAN cable.

My desktop and laptop are always connected to the main router, but my phone sometimes connects to the other, due to me moving about the house. I keep having to manually connect back to the main router when I need to use KDE connect. I don’t want to ‘Forget’ the second router as it is the only one that covers certain parts of my house, such as the kitchen.

Is there a way around this? I had earlier connected the second router to the main one without a cable (wireless extender) and KDE Connect worked well in that config. I’m sure I’ll need to provide some more info about my router setups, but I’m not sure what is needed, I can give more context in response to queries.

  • ono@lemmy.ca
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    1 year ago

    You could restructure your network, but it’s probably not necessary. My phone is always behind NAT on the secondary router’s wi-fi. I got it working by:

    • Reserving a static IP address for my phone in the secondary router’s DHCP server.
    • Forwarding that router’s incoming ports 1714-1764 to the phone’s IP address.
    • Allowing outgoing traffic from that router’s network to ports 1714-1764 on my workstation’s IP address (on the primary network).
    • Adding a device (my workstation) by IP address in my phone’s KDE Connect app.