Score:0

Connecting to OpenVPN over WiFi vs Mobile Network

us flag

I've enabled OpenVPN Server on my Netgear Orbi router and I can happily connect to it on my Android phone over a mobile network.

However, when my phone is connected over WiFi, my phone is unable to connect to the OpenVPN server. According to a Netgear forum post this is normal (Is it really? Any way around that?).

The problem is that I have to manually open the OpenVPN app and connect to my server every time I leave my home WiFi network. Is there a way to automatically get the OpenVPN client app to connect but only for the mobile network (I can't see a way). What is the best way to achieve automaticaly connect?

Here is my OpenVPN configuration file just in case it helps:

client
dev tun
proto udp
sndbuf 393216
rcvbuf 393216
push "sndbuf 393216"
push "rcvbuf 393216"
remote example.mynetgear.com 12973
resolv-retry infinite
nobind
persist-key
persist-tun
cipher AES-128-CBC
comp-lzo yes
verb 0

<ca>
-----BEGIN CERTIFICATE-----
...
-----END CERTIFICATE-----

</ca>
<cert>
-----BEGIN CERTIFICATE-----
...
-----END CERTIFICATE-----

</cert>
<key>
-----BEGIN PRIVATE KEY-----
...
-----END PRIVATE KEY-----

</key>
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.