Implement NAT port and ip fetch.