Do you know the vpn ssl OS and host check?Think it could be what are you
looking for.
https://docs.fortinet.com/document/fortigate/6.4.9/administration-guide/32970/configuring-os-and-host-checkhttps://community.fortinet.com/t5/FortiGate/Technical-Tip...