Hello!
We are having some issues using the screen sharing functionality in Jamf Remote when users are not on the company network, but connected with the global protect VPN agent. On our Windows devices, we aren't seeing any issues (we use Goverlan) to connect to users outside of our network. Before going to Jamf, we were using Apple Remote Desktop, which didn't have issues with this.
Now with Jamf, we are unable to start up screensharing with users that connect to our network through Global Protect. Our Palo Alto consultant has looked into this, and according to him, the computers aren't registering in DNS properly. He claims this is an Apple issue, but we didn't see this issue when using ARD.
Has anyone encountered this issue? If so, what is the way to solve this?
The consultant gave me the script below to try. When running this however, I get the message that it's a read-only file system. I'm running the script on Catalina, so I assume this is because the OS now runs in a read-only system volume. Any help would be gréatly appreciated, as I am out of ideas how to fix this.
This is the script the consultant gave me:
#!/bin/sh
# en0 = ethernet - en1 = airport - choose the right interface !
IPADDR=`/sbin/ifconfig en0 | grep 'inet ' | awk '{print $2}'`
HOSTNAME=`hostname -f`
# Optionally set the name server (if not present, it uses system default).
# echo server "${DNSSERVER}" > $TMPDIR/nsupdate
# Change > to >> if name server set.
echo update delete "${HOSTNAME}" A > $TMPDIR/nsupdate
echo update add "${HOSTNAME}" 86400 A "${IPADDR}" >> $TMPDIR/nsupdate
echo show >> $TMPDIR/nsupdate
echo send >> $TMPDIR/nsupdate
nsupdate $TMPDIR/nsupdate
Thanks!
Valérie