When I try to forward a port to a virtual machine in the NAT network settings all port settings regarding TCP are simply deleted on the "Apply" action.
It doesn't really matter which port I pass, if it's a TCP - its settings are deleted.
At the same time, UDP is fine.
I've also tried adding the ports I need via the config file - when I restart the interfaces from VNE, they are simply erased from the file.
Using vmrun:
.\vmrun.exe setPortForwarding vmnet8 TCP 8080 192.168.80.128 8080
Error: Failed to set port forwarding
VMware version: 17.0.2 build-21581411
Before save:

After save ("OK" or "Apply" in main window):
