2 Replies
      Latest reply: Jan 5, 2017 2:03 AM by eskimo RSS
      tanfromhangzhou Level 1 Level 1 (0 points)

        Routing Network Data to the VPN

        There are two ways or methods by which network data is routed to the VPN:

        • By destination IP address
        • By source application (Per-App VPN)

         

        My question is: Can use the two ways simultaneously?

        For instance: For A app, only the destination IP(192.168.1.10) use VPN, other destination IP use  Physical network

         


        • Re: Routing Network Data to the VPN
          tanfromhangzhou Level 1 Level 1 (0 points)

          By the way, per-app-VPN(by MDM) using private protocol  VPN gateway.

          • Re: Routing Network Data to the VPN
            eskimo Apple Staff Apple Staff (7,530 points)

            For A app, only the destination IP (192.168.1.10) use VPN, other destination IP use physical network

            You definitely can’t do this via IP address.  You may be able to do it via DNS name (consider the matchDomains property of the NEAppRule class) but I don’t see how you can actually configure that via the com.apple.vpn.managed.applayer payload in a configuration profile.

            Share and Enjoy

            Quinn “The Eskimo!”
            Apple Developer Relations, Developer Technical Support, Core OS/Hardware
            let myEmail = "eskimo" + "1" + "@apple.com"