6.10.3 Unraid showing wrong WAN IP


Go to solution Solved by ljm42,

Recommended Posts

Hi everyone, when I look into mein Unraid Server in "Management Access" Section "My Servers" Unraid shows the wrong WAN IP where it sais: "Remark: your WAN IPv4 is 94.xx.xx.xx". The Check button fails too. The server is not reachable through remote access via Unraid My Servers.

 

My router gives me the WAN IP 100.xx.xx.xx which is correct when working with services like duckdns. When using the 100.x.x.x IP I can reach my Server from outside the LAN through the forwarded port in the router (the port is also in the Unraid settings)

 

Any Ideas?

 

THX Marc

Link to comment

What IP do you get when you go here?
  https://wanip.unraid.net/

 

Test first with a browser on your client computer, then open a web terminal on Unraid and type:
  curl https://wanip.unraid.net/

 

If the IPs are different then you must have Unraid behind a VPN or using a different route to the Internet.  The IP that Unraid sees when connecting to that site is the one that matters.

Link to comment

It is hard to say, there are many ways to complicate your network :) You'll need to dig through your network config to see what is up. Some things to look for: if you have a VPN running on your router, it could be routing traffic through the VPN. If you have more than one router, they could be directing traffic in different ways. It is possible your ISP has multiple ways for you to get to the Internet. Or maybe something simple like your IP address changed since the last time duckdns updated. 

 

The way the Remote Access solution works, whatever IP address Unraid gets when it does:

  curl https://wanip.unraid.net/

is the IP address that will be used when setting up DDNS for Remote Access. If your server cannot respond on that IP address then this Remote Access solution will not work for you.  In that case, WireGuard is an option:

  https://forums.unraid.net/topic/84226-wireguard-quickstart/

 

Link to comment

thx for your effort.

 

Just found out that my ISP is using an IP range resrved for CGNAT (whatever that is...). I think this means, that these adresses are not reachable trough the internet. There has to be some mapping in between. And therefore services like duckdns will not work properly. So thats the point why Unraid or whatismyip.com shows different WAN IP as my ISP.

 

Maybe I can come up up with a workaround...

 

Thx for the help!

Link to comment
  • Solution

Thanks. I see now that if the router claims the external IP is 100.x.x.x then it is likely CGNAT and port forwarding isn't really possible. It is basically like being double-NATd except that you don't control the Internet-facing router.

 

Your best bet would be to see if you can upgrade your connection to one that does not use CGNAT.

 

For a rather technical work around, try a Google search for "cgnat vps". That is well out of scope for anything we could support though.

  • Thanks 1
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.