You don't. You create a separate DNS entry internally for this traffic to follow or you use an internal hostname in the application / device. The internal entry resolves to an internal IP address. Or just put the internal IP in the device so it connects direct? People make hairpin NAT's in business settings for job security reasons or to make management happy, not for sensible engineering decisions. Keep your traffic flows sensible.
... View more