WireGuard Archive on lore.kernel.org
 help / Atom feed
* [Android app] Can't connect to a chromecast when wireguard is running
@ 2018-12-28 10:27 Christophe-Marie Duquesne
  2018-12-30 19:10 ` Christophe-Marie Duquesne
  0 siblings, 1 reply; 4+ messages in thread
From: Christophe-Marie Duquesne @ 2018-12-28 10:27 UTC (permalink / raw)
  To: wireguard

[-- Attachment #1.1: Type: text/plain, Size: 664 bytes --]

Hi!

I have been using the android app for a while now (non rooted phone,
android 8.0, I installed the app from the play store). It works very well.

I am here to report a little problem: I find myself unable to use a
chromecast while wireguard is running. I tried to exclude Spotify and
Google home from the applications tunneled by wireguard, but that doesn't
work.

The application which notifies me about the chromecast status is "Google
play services". However, this particular app is not part of the list of
applications I can exclude from being tunneled by wireguard.

Has anyone experienced a similar problem? How did you solve it?

Best,
Christophe-Marie

[-- Attachment #1.2: Type: text/html, Size: 845 bytes --]

<div dir="ltr"><div>Hi!</div><div><br></div><div>I have been using the android app for a while now (non rooted phone, android 8.0, I installed the app from the play store). It works very well.</div><div><br></div><div>I am here to report a little problem: I find myself unable to use a chromecast while wireguard is running. I tried to exclude Spotify and Google home from the applications tunneled by wireguard, but that doesn&#39;t work.</div><div><br></div><div>The application which notifies me about the chromecast status is &quot;Google play services&quot;. However, this particular app is not part of the list of applications I can exclude from being tunneled by wireguard.</div><div><br></div><div>Has anyone experienced a similar problem? How did you solve it?</div><div><br></div><div>Best,</div><div>Christophe-Marie<br></div></div>

[-- Attachment #2: Type: text/plain, Size: 148 bytes --]

_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Android app] Can't connect to a chromecast when wireguard is running
  2018-12-28 10:27 [Android app] Can't connect to a chromecast when wireguard is running Christophe-Marie Duquesne
@ 2018-12-30 19:10 ` Christophe-Marie Duquesne
  2018-12-30 20:09   ` Samuel Holland
  0 siblings, 1 reply; 4+ messages in thread
From: Christophe-Marie Duquesne @ 2018-12-30 19:10 UTC (permalink / raw)
  To: wireguard

[-- Attachment #1.1: Type: text/plain, Size: 858 bytes --]

Hi again,

Thinking about my former setup with Openvpn, I realized it had a setting
"bypass VPN for local networks" (under "routing"). Is there such a thing in
the Wireguard app? (In the peer config, there is a checkbox "Exclude
private IPs". In doubt, I tried to enable it, but then the wireguard
interface stopped working with the message "Error bringing up tunnel: Bad
address")

Generally, the app which I believe would solve my chromecast problem is
probably "Google play services" (com.google.android.gms). It is
unfortunately not part of the list of applications one can exclude from the
UI. Is there a way to do one of these two things?
- Implement a feature similar to "bypass VPN for local networks"
- Make it possible to exclude an application by string input (directly
typing "com.google.android.gms" in some text area)

Thanks,
Christophe-Marie

[-- Attachment #1.2: Type: text/html, Size: 1134 bytes --]

<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hi again,</div><div><br></div><div>Thinking about my former setup with Openvpn, I realized it had a setting &quot;bypass VPN for local networks&quot; (under &quot;routing&quot;). Is there such a thing in the Wireguard app? (In the peer config, there is a checkbox &quot;Exclude private IPs&quot;. In doubt, I tried to enable it, but then the wireguard interface stopped working with the message &quot;Error bringing up tunnel: Bad address&quot;)</div><div><br></div><div>Generally, the app which I believe would solve my chromecast problem is probably &quot;Google play services&quot; (com.google.android.gms). It is unfortunately not part of the list of applications one can exclude from the UI. Is there a way to do one of these two things?</div><div>- Implement a feature similar to &quot;bypass VPN for local networks&quot;</div><div>- Make it possible to exclude an application by string input (directly typing &quot;com.google.android.gms&quot; in some text area)<br></div><div><br></div><div>Thanks,</div><div>Christophe-Marie<br></div></div></div></div></div>

[-- Attachment #2: Type: text/plain, Size: 148 bytes --]

_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Android app] Can't connect to a chromecast when wireguard is running
  2018-12-30 19:10 ` Christophe-Marie Duquesne
@ 2018-12-30 20:09   ` Samuel Holland
  2019-01-03  2:48     ` Samuel Holland
  0 siblings, 1 reply; 4+ messages in thread
From: Samuel Holland @ 2018-12-30 20:09 UTC (permalink / raw)
  To: Christophe-Marie Duquesne, wireguard

Hi,

On 12/30/18 13:10, Christophe-Marie Duquesne wrote:
> Thinking about my former setup with Openvpn, I realized it had a setting 
> "bypass VPN for local networks" (under "routing"). Is there such a thing in 
> the Wireguard app? (In the peer config, there is a checkbox "Exclude private 
> IPs". In doubt, I tried to enable it, but then the wireguard interface 
> stopped working with the message "Error bringing up tunnel: Bad address")
> 
> Generally, the app which I believe would solve my chromecast problem is 
> probably "Google play services" (com.google.android.gms). It is
> unfortunately not part of the list of applications one can exclude from the
> UI. Is there a way to do one of these two things? - Implement a feature
> similar to "bypass VPN for local networks"

That's the idea with the "Exclude private IPs" checkbox. Anything in the
RFC1918 range will not use the tunnel. Could you export a log (there's an option
in the app settings) with it failing, and send it to me (privately if you want)?

> - Make it possible to exclude an application by string input (directly typing
> "com.google.android.gms" in some text area)

You can do that today by exporting the configuration, adding a line to the
[Interface] section, and re-importing:

    ExcludedApplications=com.google.android.gms

The UI currently shows all apps that have a launcher icon. Maybe we need to
change that filter? Can you check if there's a "Google Settings" or similar
entry in the list? I believe that's the name of the launcher entry point for
Google Play Services.

> Thanks, Christophe-Marie

Regards,
Samuel
_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Android app] Can't connect to a chromecast when wireguard is running
  2018-12-30 20:09   ` Samuel Holland
@ 2019-01-03  2:48     ` Samuel Holland
  0 siblings, 0 replies; 4+ messages in thread
From: Samuel Holland @ 2019-01-03  2:48 UTC (permalink / raw)
  To: Christophe-Marie Duquesne, wireguard

On 12/30/18 14:09, Samuel Holland wrote:
> Hi,
> 
> On 12/30/18 13:10, Christophe-Marie Duquesne wrote:
>> Thinking about my former setup with Openvpn, I realized it had a setting 
>> "bypass VPN for local networks" (under "routing"). Is there such a thing
>> in the Wireguard app? (In the peer config, there is a checkbox "Exclude 
>> private IPs". In doubt, I tried to enable it, but then the wireguard 
>> interface stopped working with the message "Error bringing up tunnel: Bad 
>> address")
>> 
>> Generally, the app which I believe would solve my chromecast problem is 
>> probably "Google play services" (com.google.android.gms). It is 
>> unfortunately not part of the list of applications one can exclude from the
>> UI. Is there a way to do one of these two things? - Implement a feature
>> similar to "bypass VPN for local networks"
> 
> That's the idea with the "Exclude private IPs" checkbox. Anything in the 
> RFC1918 range will not use the tunnel. Could you export a log (there's an 
> option in the app settings) with it failing, and send it to me (privately if 
> you want)?

The issue that was breaking the "Exclude private IPs" checkbox has been fixed
and will be part of the next release. Thanks for the report. (For the curious:
an IPv6 DNS server was getting added to the Allowed IPs list with an incorrect
netmask, and Android rejects VPN routes to subnets with a non-zero host part.)

Thanks,
Samuel
_______________________________________________
WireGuard mailing list
WireGuard@lists.zx2c4.com
https://lists.zx2c4.com/mailman/listinfo/wireguard

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, back to index

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-28 10:27 [Android app] Can't connect to a chromecast when wireguard is running Christophe-Marie Duquesne
2018-12-30 19:10 ` Christophe-Marie Duquesne
2018-12-30 20:09   ` Samuel Holland
2019-01-03  2:48     ` Samuel Holland

WireGuard Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/wireguard/0 wireguard/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 wireguard wireguard/ https://lore.kernel.org/wireguard \
		wireguard@lists.zx2c4.com zx2c4-wireguard@archiver.kernel.org
	public-inbox-index wireguard


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/com.zx2c4.lists.wireguard


AGPL code for this site: git clone https://public-inbox.org/ public-inbox