The ports aren't backed by switching hardware, so would have to get bridged in hardware. If you don't want to use it as a router towards the internet, just get a 2.5G switch would likely be more performant and future proof given this only has two RJ45 ports.
Why would you even get a NAS if you only connect it directly to one PC? Then get a DAS or just external drives.