Posted on 09-24-2020 06:09 AM
As described. Thanks
Posted on 09-24-2020 10:11 PM
It will report the WAN and LAN IP, so VPN will report the VPN IP
Posted on 09-25-2020 05:10 AM
I'm using an extension attribute (see below) to read Cisco Anyconnect. This displays a 10. IP number, as this is the vpn IP address. This is not what shows in the inventory for IP Address or Reported IP Address, but it is more useful if you want to connect using screen sharing which is how I find it useful (due to Jamf Remote not working when the user is on vpn).
clientIPV4=$(/opt/cisco/anyconnect/bin/vpn stats | grep "Client Address (IPv4):" | awk '{print $4}')
echo "<result>$clientIPV4</result>"