Android OpenVPN-TAP - Bonjour/ZeroConf Multicasting Packets Not Sent/Recieved
Posted: Wed Sep 07, 2022 8:38 pm
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.
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.