FAQ  •  Register  •  Login

Resolving DDNS on LAN with Serviio Go

<<

djstodul

Serviio newbie

Posts: 7

Joined: Wed Aug 28, 2013 12:25 am

Post Fri Sep 06, 2013 11:56 am

Resolving DDNS on LAN with Serviio Go

Hello,

A nice feature would be to be able to resolve DDNS properly while on the LAN using serviio go.

When I am away from home, I use my DDNS to connect to my network, but when I am at home, I need to change it to my internal network server. Is there anyway that you could program it so the Serviio Go would use the DDNS to connect to the server while I am within the network?

Thanks!
<<

will

DLNA master

Posts: 2138

Joined: Mon Aug 30, 2010 11:18 am

Location: UK

Post Fri Sep 06, 2013 1:38 pm

Re: Resolving DDNS on LAN with Serviio Go

djstodul wrote:Hello,

A nice feature would be to be able to resolve DDNS properly while on the LAN using serviio go.

When I am away from home, I use my DDNS to connect to my network, but when I am at home, I need to change it to my internal network server. Is there anyway that you could program it so the Serviio Go would use the DDNS to connect to the server while I am within the network?

Thanks!


Your router should do that automatically for you. Ie. it will get the request for name.dyndns.org, see its for it's public IP, look up the NAT rule, and then send it to your server's private IP.

If it doesn't do it, look for settings named 'loopback' or 'internal loopback' or similar. Btw what router do you have?
Will

ServiiDroid (Android Console) Developer: Download | Home | Support
ServiiGo (Android 3G/4G/WiFi Playback App) Developer: Download | Home | Support
<<

djstodul

Serviio newbie

Posts: 7

Joined: Wed Aug 28, 2013 12:25 am

Post Sat Sep 07, 2013 6:49 pm

Re: Resolving DDNS on LAN with Serviio Go

Hello,

I have an Asus RT-AC66U with RMerlin's latest modified firmware. I use an openvpn client on it and I selectively route my desktop running Serviio Pro 1.3.1 around the VPN. I forward all the ports to my desktop and Serviio Go works perfectly outside the network.


Do you need me to run any route or Nat listings? if its just a matter of running a command on my router in a script, that would be excellent.

Thanks!
<<

will

DLNA master

Posts: 2138

Joined: Mon Aug 30, 2010 11:18 am

Location: UK

Post Sat Sep 07, 2013 9:12 pm

Re: Resolving DDNS on LAN with Serviio Go

So what exactly happens when you connect to your dynamic DNS address /public IP using ServiiGo from within your network?
Will

ServiiDroid (Android Console) Developer: Download | Home | Support
ServiiGo (Android 3G/4G/WiFi Playback App) Developer: Download | Home | Support
<<

djstodul

Serviio newbie

Posts: 7

Joined: Wed Aug 28, 2013 12:25 am

Post Sat Sep 07, 2013 10:35 pm

Re: Resolving DDNS on LAN with Serviio Go

Hello,

I get a "failed to connect" error. Works fine I'd I use the internal IP address
<<

will

DLNA master

Posts: 2138

Joined: Mon Aug 30, 2010 11:18 am

Location: UK

Post Sat Sep 07, 2013 10:40 pm

Re: Resolving DDNS on LAN with Serviio Go

What happens when you try mediabrowser from a pc? I'll try to find your routers manual, as it should just work....

Edit: A quick google says that the default Asus firmware doesn't support NAT loopback, or at least didn't a while ago.

The firmware you mentioned says it addresses some issues related to NAT/VPN/loopback. Can you have a poke around the router's web config, especially any pages related to NAT, routing, interfaces etc...
Will

ServiiDroid (Android Console) Developer: Download | Home | Support
ServiiGo (Android 3G/4G/WiFi Playback App) Developer: Download | Home | Support
<<

djstodul

Serviio newbie

Posts: 7

Joined: Wed Aug 28, 2013 12:25 am

Post Sat Sep 07, 2013 11:44 pm

Re: Resolving DDNS on LAN with Serviio Go

Hello,

OK, I confirmed that the problem is the openvpn client that RMerlin added to the firmware interferes with NAT loopback. When I disable the openvpn client, nat loopback works properly and I can connect using name.dyndns.org from serviio go from within my network.

I could ask RMerlin if he could check to see if he could get nat loopback working while the openvpn client is running.

Else, a dropdown under "Address" listing the last functioning addresses would ease the nuisance of having to change the address every time.

Thanks for being responsive!
<<

will

DLNA master

Posts: 2138

Joined: Mon Aug 30, 2010 11:18 am

Location: UK

Post Sun Sep 08, 2013 7:31 am

Re: Resolving DDNS on LAN with Serviio Go

I would ask the dev as I saw change log entries related to it, and it really should be possible.

The reason I've held off on this is I would also need to save the WiFi SSID so that I know if I need to connect to the private IP or the DDNS. As i'm planning on moving the data into a database so that I can track when the user last connected to a server (based on its internal library/database id that every installation of Serviio has), so that I can clear out the caches inteligently, i've held off of doing any of this until I have time to do it properly. I'll have a think about this and might bring it forward, else a dropdown of recent servers is probably the best option for now.
Will

ServiiDroid (Android Console) Developer: Download | Home | Support
ServiiGo (Android 3G/4G/WiFi Playback App) Developer: Download | Home | Support
<<

djstodul

Serviio newbie

Posts: 7

Joined: Wed Aug 28, 2013 12:25 am

Post Sun Oct 06, 2013 12:41 am

Re: Resolving DDNS on LAN with Serviio Go

Thank you for the server list. It works like a charm.

Return to Feature requests

Who is online

Users browsing this forum: No registered users and 36 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.