gnome-shell-extension-gsconnect icon indicating copy to clipboard operation
gnome-shell-extension-gsconnect copied to clipboard

[ Lost connection when Android connect to VPN. ] OR [ No lost connection when Linux connect to VPN]

Open morfyum opened this issue 2 years ago • 4 comments

Describe the bug

I dont know what is the bug between two option.

I use my own Wireguard VPN. I have 2 VPN. One on my Phone, and one on my Fedeora Linux.

How to:

Thanks for Reading, Happy New Year!

Steps to reproduce

Scenario 1:

  1. GSConnect active.
  2. Enable VPN on Fedora Workstation 37 (Not enabled on Phone)
  3. GSConnect Still Active. This is ok?

Scenario 2

  1. GSConnect active
  2. Enable VPN on Android 13 phone
  3. GSConnect connection lost. Android doesnt recognize change, say: active connection, but features doesn't work. Desktop version of GSConnect see Disconnect.

Scenario 3:

When I enable VPN on both device, the issue is same: Connection lost. This VPN use only 1 server.

Expected behavior

Excepted: I dont know. Lost or do not lost connection. Android or Linux

GSConnect version

1.20.2

Installed from

OS package manager

GNOME Shell version

43.2

Linux distribution/release

Fedora 37

Paired device(s)

Pixel 5

KDE Connect app version

54

Plugin(s)

No response

Support log

No response

Screenshots

No response

Notes

No response

morfyum avatar Jan 07 '23 12:01 morfyum

I identified the exact same issue with KDE Connect for iPhone: when the VPN is only active on PC, I can connect normally, but when I activate it on the phone the devices can't connect anymore.

My guess is that GSConnect have issues with Wireguard, and don't use the VPN.

My setup:

  • fedora 37 with gnome 43, extension 54
  • on the iPhone iOS 15 but probably unrelated, with KDE connect v0.3.0

ascpial avatar Mar 20 '23 19:03 ascpial

If you are using nordvpn, you can set this setting

nordvpn set lan-discovery enabled

https://www.reddit.com/r/kde/comments/vz7mte/comment/l43fmz7/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button

Aybee5 avatar May 15 '24 20:05 Aybee5

I'm using WireGuard. My PC IP address is 10.13.13.3 and my phone IP address is something like 10.13.13.2.

I have no issues accessing an http server running on my PC from my phone and vice-versa.

It seems like the issue is related to GSConnect which doesn't listen to all IPs.

Edit: I just tried again and I can connect to my phone if I manually specify the IP. Maybe it has to do with the way WireGuard creates subnets?

ascpial avatar May 16 '24 06:05 ascpial

@ascpial try searching how to allow lan connection on wireguard, you may be lucky

Aybee5 avatar May 16 '24 06:05 Aybee5