Docker windows port forward

I have a short question as i am thinking about how i could forward the ports of a remote linux machine to my windows machines localhost.

How does Docker for windows forward the ports from the HyperV machine to the windows localhost. Is that possible with a remote machine too?

Thanks a lot!

Best regards