Jump to content

External DDNS


Vidman

Recommended Posts

Vidman

I see this new option in the advanced settings tab of the web clients...can someone explain exactly what this setting is for?

Link to comment
Share on other sites

Beardyname

Not sure if all clients use it as of now, but the box should be for informing your clients where they can find the server outside of your local LAN.

If you clients are configured to use your external IP this won't affect anything at all.

Link to comment
Share on other sites

Koleckai Silvestri

It is for people who do not have a static IP. They would get a static IP via a Dynamic DNS service. That service has you install a small app on the server that tells the service what the current IP. Now your external clients can connect reliably without changing the server IP every day.

Link to comment
Share on other sites

Vidman

Thanks for the explanation... I have a DDNS service and I'm aware what it does....just unsure why it is a server option if it is the clients that are required to use it? Does the server somehow send that info to the client? If so how?

Link to comment
Share on other sites

well for most the first time they connect with a mobile client it's inside their home network. so that allows them to get the external address so that when you leave home the transition will hopefully be seamless

  • Like 1
Link to comment
Share on other sites

Vidman

So if I enter my ddns address here the android client should automatically switch to using it when outside my LAN?

Link to comment
Share on other sites

Well Red hasn't released the android update yet with that feature, but yes, soon that's what should happen.

  • Like 1
Link to comment
Share on other sites

Vidman

So you would need to connect the client locally to the server initially for this to work? How does the client know when to use the ddns address?

Edited by Vidman
Link to comment
Share on other sites

Beardyname

I would imagine when it fails to load your local address, but as i said above if you setup your clients to use the external DNS in the first place it does not matter.  :)

 

This is a really handy feature for the mobile apps who "Discover" the server when searching locally and then ppl won't complain that it does not work outside their homes!

Link to comment
Share on other sites

Koleckai Silvestri

It would be failover. First try the local address. If that doesn't work, try the external address. Hopefully it will be able to make a connection. That is, once the clients support it completely.

Link to comment
Share on other sites

Vidman

I would imagine when it fails to load your local address, but as i said above if you setup your clients to use the external DNS in the first place it does not matter. :)

 

This is a really handy feature for the mobile apps who "Discover" the server when searching locally and then ppl won't complain that it does not work outside their homes!

^^ This does not work for me when in my home lan....I have to have two separate connection settings for wan and lan access...I have put in a feature request for the android client which makes more sense to me as it does not require a connection fail to use the ddns address

 

Sent from my GT-I9295 using Tapatalk

Link to comment
Share on other sites

Beardyname

If you have port-forwarded etc it should work from inside your home, or at least it does for me :) But with future updates the clients should handle this correctly.

Link to comment
Share on other sites

Vidman

If you have port-forwarded etc it should work from inside your home, or at least it does for me :) But with future updates the clients should handle this correctly.

Nope it doesn't ... The router needs to support hairpin for this to work I believe
Link to comment
Share on other sites

Beardyname

huh i would not imagine that there is a router out there not capable for this, but then again i cannot possibly have tested every router so ^^ The feature will get in the android client sooner or later!

Link to comment
Share on other sites

Redshirt

The version of Android currently being tested by my team is making use of this new server-supplied property to fully configure a users connection. Hopefully it'll be in everyone's hands soon.

Link to comment
Share on other sites

Vidman

huh i would not imagine that there is a router out there not capable for this, but then again i cannot possibly have tested every router so ^^ The feature will get in the android client sooner or later!

Well I find the opposite to be the case for me.... I have yet to find a router that allows this
Link to comment
Share on other sites

Vidman

The version of Android currently being tested by my team is making use of this new server-supplied property to fully configure a users connection. Hopefully it'll be in everyone's hands soon.

Did you see my feature request? Is there are reason you have implemented it this way rather than the one I suggested? Just curious
Link to comment
Share on other sites

Redshirt

Can you point me to it again, or repeat it.

Link to comment
Share on other sites

Did you see my feature request? Is there are reason you have implemented it this way rather than the one I suggested? Just curious

 

He's implemented it the way he has based on core guidelines coming from me, which handles your scenario without a problem.

Link to comment
Share on other sites

moviefan

So I am confused after reading through this thread.

 

Does this setting work as Wayne Luke suggested - by trying inside address first and then failing to DDNS address?

 

Or does it count on our router/firewall being able to translate traffic going to external addresses back to their internal addresses and "hairpin" that traffic back into the LAN as Beardyname mentioned?

 

I know my ASA firewall does not support this second option and the only way to accomplish it is by using DNS rewrites to give the clients the proper address.

Link to comment
Share on other sites

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...