Android OpenVPN-TAP - Bonjour/ZeroConf Multicasting Packets Not Sent/Recieved

Support requests about VPN Client Pro
Post Reply
vpnprouser
Posts: 2
Joined: Wed Sep 07, 2022 7:55 pm

Android OpenVPN-TAP - Bonjour/ZeroConf Multicasting Packets Not Sent/Recieved

Post by vpnprouser »

Hi,

I am using the Android VPN Pro Google ApI-release 1.01.17 (23010117) connecting to OpenVPN server version 2.5.7.

I am connecting using TAP/Bridge -- *THANK-YOU* for making this feature available on Android - I wall pulling my hair out trying to get a TUN connection to work :-)

I can successfully connect from my Android phone *AND* a variety of other devices (Windows 10, Macs) all using the same server config and ovpn file / local config on each device. As far as I can tell I have access to all resources on my local network via the VPN connection.

For example: On my Windows 10 machine connecting using OpenVPN GUI v11.29.0.0 once connected the machine is successfully recognized by my iTunes server (I'm using the windows Airplay receiver called AirFoil Satellite https://rogueamoeba.com/airfoil/satellite/). Then I can stream music over the VPN connection to my Windows machine from my iTunes server.

But when I connect with Android VPN Pro with the same OpenVPN server and opvn file, using the android version of the AirFoil Satellite software, my iTunes server never sees the Android phone, so I can't connect to it and stream from iTunes to my phone. I've confirmed that if my Android phone is on my local network everything works. I've also tried a number of other Android "Airplay" receivers with the same result (e.g. Air-ReceiverLite and AirBubble).

Reading around it looks like there are some "gotcha's" related to protocols that use multicasting to announce themselves not working over TUN VPN connections, but I'm using TAP. These are protocols like Bonjour (used by Airplay), and ZeroConf.

Any suggestions as to what needs to be changed so my use case will work with Android?

LMK if you need additional details and I'll do my best to provide them.
admin
Site Admin
Posts: 858
Joined: Fri Feb 15, 2019 4:04 pm
Contact:

Re: Android OpenVPN-TAP - Bonjour/ZeroConf Multicasting Packets Not Sent/Recieved

Post by admin »

Hello,

multicast packets are supported by the TAP emulator, but unfortunately some devices do not send these packets through the VPN.
In some cases the problem can be solved by adding a specific route.
In your case you can try to follow these steps:
  • edit the VPN profile
  • tap on IPv4 routes
  • tap on + button
  • set the Destination to 224.0.0.251/32 and tap on OK button
  • save the changes
vpnprouser
Posts: 2
Joined: Wed Sep 07, 2022 7:55 pm

Re: Android OpenVPN-TAP - Bonjour/ZeroConf Multicasting Packets Not Sent/Recieved

Post by vpnprouser »

Thanks for the quick reply.

Adding that route did make one of the Airplay Receivers appear in iTunes, but unfortunately, I couldn't connect. iTunes gave me an error when trying to connect (with no helpful error message :-( )

Are there any other routes I might need to add that other Airplay Reciever Android apps might use to announce themselves or actually use to send the audio?

Many thanks
admin
Site Admin
Posts: 858
Joined: Fri Feb 15, 2019 4:04 pm
Contact:

Re: Android OpenVPN-TAP - Bonjour/ZeroConf Multicasting Packets Not Sent/Recieved

Post by admin »

You're welcome.
I'm sorry but I couldn't find any documentation explaining how the protocol works so I don't know how to help you.
Post Reply