Jump to content

WAN access IP is always changing


Recommended Posts

Posted

It's very frustrating. how do I prevent the WAN access IP from always changing! 

Posted

Hi, is your isp constantly changing your ip address?

Posted

 I don't have the foggiest. I usually find this problem when I get to work, rarely at home or when I'm on the road accessing by my phone.

Posted
3 hours ago, sjkiss said:

 I don't have the foggiest. I usually find this problem when I get to work, rarely at home or when I'm on the road accessing by my phone.

There are services for that. I don't know what router you use, but I use them from Asus for years now. They have the option to use a DDNS from Asus themselves. Works a charm. 

  • Like 1
Posted

I use a QNAP. Where would I look to read about this?

 

Happy2Play
Posted
4 minutes ago, sjkiss said:

I use a QNAP. Where would I look to read about this?

 

It depends but Google QNAP DDNS.

Posted

I just want to be clear. I think the local IP address for my NAS stays the same. It’s just the wireless access network address that seems to be changing. Would  ddns address that? 

Happy2Play
Posted
1 minute ago, sjkiss said:

I just want to be clear. I think the local IP address for my NAS stays the same. It’s just the wireless access network address that seems to be changing. Would  ddns address that? 

It should as the service would update WANIP.

Or Emby Connect does the same but don't know the update interval.

Emby Connect 

@cayarsthis is a bit dated.

Posted
On 9/27/2022 at 8:38 PM, sjkiss said:

I just want to be clear. I think the local IP address for my NAS stays the same. It’s just the wireless access network address that seems to be changing. Would  ddns address that? 

Your local IPs shouldn't be changing.  As Happy2Play mentioned it's you Router's WAN IP that changes.  There is a pretty easy solution to fixing this using either a domain you register or a DDNS (dynamic DNSsystem).  Many home routers have this built right in and make it super easy to setup, basically just entering the hostname and password.

With a domain or DDNS and your router or small util running on any machine inside your network, you will keep a name server updated with your current WAN IP.  Anytime the IP changes it updates the service.  This allows you to then use a name of your choosing to access your Emby Service.

https://www.cloudns.net/blog/what-is-dynamic-dns/

Posted

I'm coming back to this, but I'm a bit lost here. I signed up for an account with https://www.cloudns.net but honestly I'm lost there. I watched the Youtube video on the site linked above and it didn't help me. Is there a better explainer Somewhere? Maybe the place to start is how I get set up on cloudns before getting into how to configure it for Emby. 

Posted
On 10/5/2022 at 12:40 AM, sjkiss said:

I'm coming back to this, but I'm a bit lost here. I signed up for an account with https://www.cloudns.net but honestly I'm lost there. I watched the Youtube video on the site linked above and it didn't help me. Is there a better explainer Somewhere? Maybe the place to start is how I get set up on cloudns before getting into how to configure it for Emby. 

Did you try signing up? @cayars Could Dns looks like it's meant more for commercial customers, no?

Posted
On 10/5/2022 at 12:40 AM, sjkiss said:

I'm coming back to this, but I'm a bit lost here. I signed up for an account with https://www.cloudns.net but honestly I'm lost there. I watched the Youtube video on the site linked above and it didn't help me. Is there a better explainer Somewhere? Maybe the place to start is how I get set up on cloudns before getting into how to configure it for Emby. 

In a nutshell you run a program on your PC or router that looks for changing WAN IPs.  When your IP changes the program updates a DNS record.

That's it.

They  have a very detailed walk through as well as video to watch to see how to setup DDNS https://www.cloudns.net/wiki/article/37/ They also provide perl, python and php scripts to use for updating the DNS record.

Posted
On 27/09/2022 at 18:49, sjkiss said:

It's very frustrating. how do I prevent the WAN access IP from always changing! 

The simplest way is to ask your ISP for a static IP address, otherwise, like most others you have a dynamic IP that will always change over time, reboots, etc. They normally charge a small amount for this. Otherwise, as suggested you need to sign up for a DDNS account with a provider. I have used NO-IP for years without issue. Personally, I would configure the DDNS in the router, if possible, as its always on.  Most routers that I have come across have a limited list of DDNS providers built in though, but most popular ones are catered for. There are loads of setup videos on Youtube for different scenarios, although they might not match you exact circumstances, the principle is the same.

 

CharlieMurphy
Posted

I've used no-ip and some others but I recommend duckdns.org

QNAP has crontab anyway, right? For Ubuntu its as easy as signing up and then copy pasting through these instructions, it takes 2 minutes. I would think "Linux cron" would work.

http://www.duckdns.org/install.jsp

  • 2 weeks later...
Posted
On 10/5/2022 at 6:40 AM, sjkiss said:

I'm coming back to this, but I'm a bit lost here. I signed up for an account with https://www.cloudns.net but honestly I'm lost there. I watched the Youtube video on the site linked above and it didn't help me. Is there a better explainer Somewhere? Maybe the place to start is how I get set up on cloudns before getting into how to configure it for Emby. 

QNAP have a DDNS service included that is ok with Emby.

Set it wit myqnapcloudlink > my ddns

then in emby setting  > network  copy the url you choose in external domain fileld (something like customname.myqnapcloud.com)

Posted

Ok. Yes I found this out and I did this and it works for a while and then it suddenstopped working. 
In QNAP I assigned myself a static IP (maybe I should not have done that while also selecting a ddns. Then I gave myself a DDNS exactly as you suggested. It worked great for a while and then suddenly stopped. I can access my NAS via cloudlink but I cannot access it by name.myqnapcloud.com which is also the URL I pasted in Emby.

Help!

keithsrobertson
Posted

I have Qnap 453A running latest firmware and latest Emby beta 4.8.0.15, I am using a ddns service called changeip.com instead of the myqnapcloud, and have generated a ssl cert for use with external clients using IOS, android or other operating systems. I posted a walkthrough of my setup previously which might help others, and might help you:

 

Posted

That’s extremely helpful. Question: I want my wife to have remote access. Will she have to get a certificate as well somehow?

Posted

Follow up question: do you have any idea why name.myqnapcloud.com would suddenly stop working?

Posted (edited)

DISREGARD.

This is all very weird now. Now I can't access even my router home page. I'm aware this is drifting, but the community here is really helpful, so I'm hoping against hope someone can continue to guide me.

 

Edited by sjkiss
Got it working; can't figure out how to delete the post.
  • Thanks 1
Posted

What was the solution?

Posted
11 hours ago, Luke said:

What was the solution?

Ah I had just entered the wrong IP address. Silly.

Posted
On 10/28/2022 at 9:25 PM, keithsrobertson said:

I have Qnap 453A running latest firmware and latest Emby beta 4.8.0.15, I am using a ddns service called changeip.com instead of the myqnapcloud, and have generated a ssl cert for use with external clients using IOS, android or other operating systems. I posted a walkthrough of my setup previously which might help others, and might help you:

 

 

This is all very weird. I followed these steps (except for the SSL certificate) using no-ip and it actually worked. But I feel like I would prefer to use the DDNS service built in to QNAP, but it just will not work anymore. 

So, one weird thing is that in the myqnapcloud link page where I an set up DDNS, I have a screen that lets me pick a statis or a dynamic IP address. It's currently set to pick a dynamic address. When I enter that dynamic IP address and the port that I have forwarded in a browser bar, it works. But when I use the DDNS URL (e.g. name.myqnapcloud.com) I get no access, even though up utnil a few days ago that was working fine. Why the difference?

keithsrobertson
Posted
On 10/29/2022 at 2:31 AM, sjkiss said:

That’s extremely helpful. Question: I want my wife to have remote access. Will she have to get a certificate as well somehow?

No once you connect via the external url using the 8920 port its assumed to be using the ssl and you have ssl cert on your server which some clients will be prompted to download/install/accept - like on android the first time you connect. Afterwards it wont push the cert to that device as it has it already. Other clients might download/accept the cert stuff automatically. Probably the same if connecting via a browser remotely, it should prompt about the cert or offer an option to accept it. So anyone that you give the external url to can access the server via port 8920 - but obviously they will need a login to get into the emby server as well.

Posted
14 hours ago, keithsrobertson said:

No once you connect via the external url using the 8920 port its assumed to be using the ssl and you have ssl cert on your server which some clients will be prompted to download/install/accept - like on android the first time you connect. Afterwards it wont push the cert to that device as it has it already. Other clients might download/accept the cert stuff automatically. Probably the same if connecting via a browser remotely, it should prompt about the cert or offer an option to accept it. So anyone that you give the external url to can access the server via port 8920 - but obviously they will need a login to get into the emby server as well.

Great thanks. Can I ask a general question: how secure is this setup really? Over on the QNAP forums they freak out about the idea of having any ports forwarded. I only have two forwarded for Emby and that's it. But I have no idea how to judge. I don't want to be hacked, but I also very much would like my music accessible to myself and my family externally.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...