Jump to content

Looking for tips on how to set up server when moving from wifi to cell carrier data (USA)....


Recommended Posts

SteveGreenBloke
Posted

Hello everyone.  I have an android app for emby and an iphone app.  Things work well both in my house and away from my wifi at my house (cellular data).  I currently expose my server at home via domain hosted at cloudflare.  I use the zero trust security feature.  I also have 2 users on my emby server.  Both require a pin.  

When I leave my house I need to log into the server and when I get home it seems to connect without issue.  

I know there are several ways to configure this based on my level of risk with my server available to the internet.  

Is there a way to set it up so there is a seamless transfer between my home wifi and my carrier given my set up?  I am also open to other set ups.  How do others work with this?

Just looking for input to make this easier to use and wanting to keep it safe from the concerns of the internet rogue actors.

 

Thanks

Steve

Posted

Hi, regarding Cloudfare, have you taken a look at this?

 

SteveGreenBloke
Posted

Thanks for this link.  Yes. I have!  It is a bit old, but I looked it over.  I have not had any problem with my set up in terms of getting data down.  It seems to be swapping from one site (local) to another (non-local).  Maybe it has to do with logging in for when I am non-local maybe there is a way to address that?  Not sure

Posted

Are you saying the server is moving from one site to another? Or the client app is switching from one server to another?

SteveGreenBloke
Posted

Thanks for the follow up question.  The app is switching over the type of connection to the server (wifi vs cellular data that goes through cloudflare so the server isn't exposed to the badness of the internet)

Posted

OK our installed apps can already do this automatically by switching between the local and remote addresses.

Posted

@LukeIs there a setting for this? I'm running into a similar issue as @SteveGreenBloke. I use Tailscale so as not to expose my home network to the internet. I've added my server to the android app using it's Tailnet address. Works fine when on cell data, and when walking into my house and connecting to wifi, music continues to play. However, if I open the app while on my home wifi, start a playlist, and then walk away from wifi, the music stops when connected to cell data. I have to force close the app and re-open on cell data to start playing again. It seems that when the android app is on my home wifi, when it opens it scans the network, detects the server, and automatically connects using the local IP rather than the Tailnet IP. So I'm also looking for a solution that allows the connection to be maintained when moving between data connections. For my case, I would be satisfied if I could force the Emby app to maintain the Tailnet IP connection no matter what, rather than auto-detecting the server on when on the local network.

Posted
15 hours ago, mtrow28 said:

@LukeIs there a setting for this? I'm running into a similar issue as @SteveGreenBloke. I use Tailscale so as not to expose my home network to the internet. I've added my server to the android app using it's Tailnet address. Works fine when on cell data, and when walking into my house and connecting to wifi, music continues to play. However, if I open the app while on my home wifi, start a playlist, and then walk away from wifi, the music stops when connected to cell data. I have to force close the app and re-open on cell data to start playing again. It seems that when the android app is on my home wifi, when it opens it scans the network, detects the server, and automatically connects using the local IP rather than the Tailnet IP. So I'm also looking for a solution that allows the connection to be maintained when moving between data connections. For my case, I would be satisfied if I could force the Emby app to maintain the Tailnet IP connection no matter what, rather than auto-detecting the server on when on the local network.

Hi, sorry I should have been more specific. The automatic url switching that i was referring to currently only applies when browsing the user interface. Doing that during playback is considerably more complex but it is on our to do list. Thanks.

SteveGreenBloke
Posted

So if we move between wifi and cellular data and are not playing something, the switch happens?  I 'll try to test this out.  Thanks.

Posted
5 minutes ago, SteveGreenBloke said:

So if we move between wifi and cellular data and are not playing something, the switch happens?  I 'll try to test this out.  Thanks.

Once requests to your server start failing, then it will test both the local and remote addresses to see if it needs to switch.

SteveGreenBloke
Posted

Thanks.  So by requests, you mean moving through the menus, not playing media right?

Posted
21 hours ago, SteveGreenBloke said:

Thanks.  So by requests, you mean moving through the menus, not playing media right?

Correct.

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