How do I find out if my ISP has put me behind a NAT. Will Dynamic DNS work with my ISP? (2024)

When setting up a VPN on my office LAN, I first need to setup a way to access my local network over the internet.

There are 2 ways to do this

  1. Buy static IP address (Paid)
  2. Configure Dynamic DNS (Almost free)

But, in order for the option 2 to work, the office router should have a direct public IP address.In another words, the ISP (Internet Service Provider) should not put the router inside a NAT. Which basically means that if the router is behind another network device, it will not have a direct public IP address.

In US for example, 98% home users will have public IP assigned to the router.However, in India, most probably, the ISP will but the router behind a NAT.

Hence, the question: How do I find out if my ISP has put me behind a NAT. Will Dynamic DNS work with my ISP?

1

  • 1

    Note that NAT does not necessarilly mean this won't work. the question is whether the NAT method in use has one public IP per internal customer, and whether they give you control of the NAT at your router (which is common with north American ISPs). Some kinds of NAT like Carrier-Grade NAT will make this almost impossible, but other types will allow you to do what you need to. Also note that DynDNS does two things for you, it lets your router update your public IP as it changes, and gives you a domain name to run your services on. your router does need to support DDNS updates though.

    Mar 2, 2021 at 0:23

Add a comment |

1 Answer

1

In order to find out if you router is behind a NAT, you need to trace how you are connected to internet.

Follow these steps

  1. Go to checkip.dyndns.org You will get your public IP address.
  2. Open CMD and type tracert {public IP}, for example:tracert 144.54.89.140
  3. If there is more than 1 hop, you are behind a NAT.

More Details / Explanation

The below image shows an example of tracert. In this example, I am tracing the route from my PC to Cloudflare server on 1.1.1.1. It took 6 hops to reach the 1.1.1.1 server.

How do I find out if my ISP has put me behind a NAT. Will Dynamic DNS work with my ISP? (2)

When you run tracert {your public ip}, and you see an output with just 1 hop, then it means your router is directly connected to the internet, without any NAT of your ISP.

However if you see more hops, then your ISP has implemented NAT (could be NAT 2 or NAT 3). In which case Dynamic DNS will not work for you.

answered Mar 2, 2021 at 0:16

How do I find out if my ISP has put me behind a NAT. Will Dynamic DNS work with my ISP? (3)

AdarshAdarsh

17911 gold badge22 silver badges1010 bronze badges

2

  • By hop you mean hops with private ips?

    Nov 27, 2022 at 18:50

  • It can be both private or public

    Adarsh

    Nov 29, 2022 at 14:50

Add a comment |

Not the answer you're looking for? Browse other questions tagged

or ask your own question.

How do I find out if my ISP has put me behind a NAT. Will Dynamic DNS work with my ISP? (2024)
Top Articles
Latest Posts
Article information

Author: Kelle Weber

Last Updated:

Views: 6116

Rating: 4.2 / 5 (53 voted)

Reviews: 84% of readers found this page helpful

Author information

Name: Kelle Weber

Birthday: 2000-08-05

Address: 6796 Juan Square, Markfort, MN 58988

Phone: +8215934114615

Job: Hospitality Director

Hobby: tabletop games, Foreign language learning, Leather crafting, Horseback riding, Swimming, Knapping, Handball

Introduction: My name is Kelle Weber, I am a magnificent, enchanting, fair, joyous, light, determined, joyous person who loves writing and wants to share my knowledge and understanding with you.