Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

If I've got a typical home router -- say a Net Gear -- which has certain ports forwarded to a internal server, is there a way to tweak the router to let me access that internal server using the external IP address from within the same network? Is there a non-enterprise grade router that can handle this type of thing?

In case that was strangely worded, let me re-phrase with an example.

My external IP is My internal server is Port 1178 is being forwarded from the router to

I'd like to be able to be able to hit from an internal ip of by using the external ip of Possible?

share|improve this question

migrated from Jul 3 '12 at 0:57

This question came from our site for system and network administrators.

2 Answers 2

This feature is goes by several names, including "NAT hairpinning" and "NAT reflection", among others.

Unfortunately, there are far too many consumer-grade home gateways that don't support it in their factory firmware image.

Make sure you have the latest firmware from the manufacturer, look to see if there's an option with a similar name that you can turn on, and if not, look at installing aftermarket third-party/open-source firmware on your router, or purchasing a higher quality router that supports it.

share|improve this answer

This is called hairpinning, and while some domestic routers can do this, they are rare - that is a matter for research.

Using split DNS is often a better way to approach this type of issue. Usually when accessing the public IP address from inside the network is needed, it is because there is a device that needs to access an internal resource from both outside and inside the network. It is configured to use the public address when outside, but then needs to be reconfigured to use the private address when internal.

Using split DNS can solve this problem by using a public DNS service for the the external address, but then running an internal DNS server that serves the internal IP address for the same DNS entry.

Lets say for example that your IP address has the dns name, which works when external to your network. You would then install a forwarding DNS server on your internal network, perhaps on the server. It would have a zone file for, resolving the address to Set this to have a low TTL so that it doesn't get cached for long.

You would use your internal DNS server for any name resolution while within your network, forwarding any requests it cannot resolve itself on to your ISP.

You would then configure any applications to not use but to use, and they will work both inside and outside the network.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.