I have my PC hardwired to my router and I have a usb to ethernet adapter. I run that ethernet cord to my xbox and I shared my PC connection with the xbox. Sometimes my NAT will change to moderate on te xbox.

How can I open ports on the xbox IP address? I dont think I can do it in my router settings?

https://i.imgur.com/vn1XeHS.png