0 Replies
      Latest reply on Mar 27, 2020 2:39 AM by chandra_voxsmart
      chandra_voxsmart Level 1 Level 1 (0 points)

        Hi,

         

        I am trying to make the apple's own sample SimpleTunnel to work in dev device(NO MDM for now).

         

        Goal : Trigger AppProxyProvider in per-app VPN scenario

        Given : no MDM available for development, hence I created mobile config file and installed the profile manually in the device.

        Work done : created mobile config as below, made an entry in plist file as below

        Error : After I install the mobile config file in a device, I get below error in device console when I try to enable the VPN

         

        Payload "VPN" contains ignored fields. They are: { VPNUUID : "825886EA-BB00-4805-ADD6-1674C531669E" }

         

         

         

        mobile config file:

        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>PayloadContent</key>
        <array>
        <dict>
        <key>PayloadUUID</key>
        <string>2D5E8833-478B-4DE4-B6ED-B9225938C5FA</string>
        <key>PayloadType</key>
        <string>com.apple.vpn.managed.applayer</string>
        <key>PayloadIdentifier</key>
        <string>com.apple.vpn.managed.2D5E8833-478B-4DE4-B6ED-B9225938C5FA</string>
        <key>PayloadDescription</key>
        <string>Configures VPN settings</string>
        <key>PayloadDisplayName</key>
        <string>VPN</string>
        <key>UserDefinedName</key>
        <string>App-Proxy-Test</string>
        <key>PayloadVersion</key>
        <integer>1</integer>
        <key>VPNUUID</key> 
            <string>825886EA-BB00-4805-ADD6-1674C531669E</string>
            <key>VPNSubType</key>
        <string>com.vs.apple-samplecode.SimpleTunnel.AppProxy</string>
        <key>VPNType</key>
        <string>VPN</string>
            <key>VPN</key>
        <dict>
        <key>AuthenticationMethod</key>
        <string>Password</string>
        <key>ProviderType</key>
        <string>app-proxy</string>
        <key>RemoteAddress</key>
                        <string>192.168.1.6:553</string>
        </dict>
        <key>Proxies</key>
        <dict>
        <key>HTTPEnable</key>
        <integer>0</integer>
        <key>HTTPSEnable</key>
        <integer>0</integer>
        </dict>
        
        <key>VendorConfig</key>
        <dict/>
        </dict>
        </array>
        <key>PayloadDisplayName</key>
        <string>Simple proxy Test</string>
        <key>PayloadIdentifier</key>
        <string>com.vs.apple-samplecode.SimpleTunnel.AppProxy.96CF503A-4FF3-4F7D-9116-69EF323A8BC7</string>
        <key>PayloadRemovalDisallowed</key>
        <false/>
        <key>PayloadType</key>
        <string>Configuration</string>
        <key>PayloadUUID</key>
        <string>EDB5C0E2-CF1E-4D6F-A0BB-FBF18D3F6FA2</string>
        <key>PayloadVersion</key>
        <integer>1</integer>
        </dict>
        </plist>
        
        

         

         

        plist

         

        <key>NETestAppMapping</key>
          <dict>
          <key>825886EA-BB00-4805-ADD6-1674C531669E</key>
          <array>
          <string>appidp</string>
          </array>
          </dict>
        
        
        
        

        Please advice me how to resolve the issue in development environment.

         

        Thanks,

        Chandra M