Hey guys -
I am trying to get OpenVPN setup on my home network so I can connect to the HE hub remotely. I've got a Netgear R7000 router that I flashed to Advanced Tomato firmware awhile back. Tomato supports OpenVPN server, so I have configured the server and created the client certs and .opvn config file for my Android phone and for my laptop.
I wanted to be able to access machines on my home network, so I set the the OpenVPN server up as TAP, not TUN. In my preliminary testing, things seem to be mostly working from my laptop... with the VPN connection established, I can access the internet over VPN, as well as bring up the HE hub webpage and my router admin page. I can ping my LAN machines by their LAN IP addresses, but I can't ping my LAN machines by their WINS names, but that is probably because I'm using a Macbook for testing this out.
I'd also like to be able to reach the hub over OpenVPN directly from my Android phone, but I discovered that OpenVPN only works in TUN mode on Android/iOS, not TAP mode. So my question is this... if I setup a 2nd OpenVPN server on my router (Tomato allows you to set up 2 OpenVPN servers on the same router) and set the 2nd server to use TUN instead of TAP... should my Android phone be able to reach the HE hub via the Hubitat app? If not, how do you guys have your OpenVPN servers configured to allow that?