If your goal is to change the NAT type to type 1, you will not be able to do so with the iPhone providing a hotspot for Internet access. That is because, the iOS Personal Hotspot feature uses your cellular data plan for Internet connectivity.
You will need a dedicated wireless router, connected to an Internet modem or gateway, that can support the UPnP protocol.