Page 1 of 1

Casting when WireGuard is on

Posted: Sat Nov 07, 2020 4:47 am
by SirRhor
Hello.

I'm a novice when it comes to VPNs and I started testing VPN Client Pro.
I can't cast audio to Google Assistant devices when the VPN is enabled.
I'm on a OnePlus 7 Pro running Resurrection Remix (Android 10).
I know I have to exclude certain local IPs from the VPN tunneling, and the WireGuard official client (which I was using before) shows a list to be excluded for casting to work, but I ignore where I should add those addresses, and is a long list.

Thank you.

Re: Casting when WireGuard is on

Posted: Sat Nov 07, 2020 7:04 pm
by admin
Hello,

here the steps to exclude some ip addresses:
  • edit the VPN profile
  • tap on "IPv4 routes" or "IPv6 routes"
  • tap on + button
  • select "Exclude"
  • set "Destination" and tap on OK button
You can also import a route list by tapping on top right icon with 3 dots and then on "Import routes"
The route file is a simple text file with routes in CIDR format separated by new line. If you want exclude a route you must prefix with !
For example, to route 192.168.0.0/16 but exclude 192.168.1.0/24, the file should contains these two lines:

192.168.0.0/16
!192.168.1.0/24

Re: Casting when WireGuard is on

Posted: Sun Nov 08, 2020 2:15 am
by SirRhor
Thank you very much for your support.
I'll test tonight.

Re: Casting when WireGuard is on

Posted: Sun Nov 08, 2020 9:48 am
by admin
You're welcome.
Meanwhile I made some quick tests and on my device the problem can be solved very quickly by using the app filter:
  • edit the VPN profile
  • tap on "App filter"
  • set "App filter mode" to "The vpn can be used by any apps, except for the following apps
  • tap on "+" button
  • serach "Google" app and tap on it
  • save the changes
If you wish to use this behavior by default on all VPN profiles, then you can set it in the global options (this is can be done also for the routes):
  • start the app
  • tap on top left icon
  • tap on "Global options" button
  • tap on "App filter"