Question about port forwarding

Hey guys, i had a question about port forwarding and that would be that i am running the server on a vm on my main pc and would like to know if i need to use my main pc ip-adress or my vm to port forward but the problem is that when i try to put my ipv4 adress of my vm it says its invalid so it should be my main pc right?

Is the VM configured of NAT, bridged or another configuration in the hypervisor? I recommend bridged as the VM gets its own IP.

1 Like