We forwarded iPhone from Windows 10 to Mac 10.12.6 in our lab without any issues.
I can suggest you to update iTunes to latest version, or reinstall it if it’s already latest version installed.
Note that before forwarding you need to connect your iPhone to Windows and authenticate it from iPhone. And only after that try to forward if with NoMachine.
Try connecting your iPhone to Windows where you have iTunes installed. Afterwards uninstall iTunes from Windows. Then forward your iPhone via NoMachine.
Also please try forwarding any another USB device (i.e. Flash Drive) to your Mac to be sure that forwarding works well on your machines.