VPN On Demand Not Triggered

Official client software for OpenVPN Access Server and OpenVPN Cloud.
Post Reply
mchlrv
OpenVpn Newbie
Posts: 1
Joined: Tue Apr 05, 2022 6:38 pm

VPN On Demand Not Triggered

Post by mchlrv » Tue Apr 05, 2022 7:02 pm

Some of my systems are only reachable when VPN is enabled or within my own house. So after playing around a bit with VPN On Demand configurations I have a working setup which - if manually activated - allows me to connect to the IP of my devices (browser and apps). However for some reason the VPN On Demand does not get triggered automatically.

In my mobileconfig I've configured the following:

Code: Select all

<key>OnDemandMatchDomainsAlways</key>
<array>
  <string>10.0.0.1</string>
  <string>10.0.0.1</string>
  <string>google.com</string>
</array>
I would expect that whenever I visit one of those 2 IP's (google is there for testing) OpenVPN would setup a connection and I would be able to access the devices. However OpenVPN On Demand does not seem to get triggered to setup a connection. Any thoughts on this?

Post Reply