INDICOHD 9 Posted April 7, 2024 Posted April 7, 2024 Hola Tengo un router con dos WAN configurado para que cuando falle la primera WAN se conecte WAN2. El problema viene cuando se conecta la WAN2 Emby deja de funcionar por que cambia la ip. Hay alguna forma de solucionar que cuando cambie la ip emby siga funcionando?
GrimReaper 4739 Posted April 7, 2024 Posted April 7, 2024 (edited) Obtain a domain name or use some DDNS service. Alternatively, use Emby Connect for remote connections. Edited April 7, 2024 by GrimReaper
INDICOHD 9 Posted April 7, 2024 Author Posted April 7, 2024 (edited) 5 minutes ago, GrimReaper said: Obtain a domain name or use some DDNS service. Alternatively, use Emby Connect for remote connections. Todos mis familiares que se conectan en remoto usan emby connect. El problema esta en que si cambia la WAN cambia la ip de acceso al servidor y ahora no pueden conectarse. Tengo un dominio comprado, como haria para que mis familiares se conecten en remoto por el dominio¿? Edited April 7, 2024 by INDICOHD
GrimReaper 4739 Posted April 7, 2024 Posted April 7, 2024 2 minutes ago, INDICOHD said: El problema esta en que si cambia la WAN cambia la ip de acceso al servidor y ahora no pueden conectarse. That is basically exactly what Emby Connect is for, maybe your server did not discover WAN IP change or there was some delay in propagation? When your IP changes, does your Dashboard reflect changed WAN IP?
INDICOHD 9 Posted April 7, 2024 Author Posted April 7, 2024 (edited) Hace 5 minutos, GrimReaper dijo: Básicamente, eso es exactamente para lo que sirve Emby Connect. ¿Quizás su servidor no descubrió el cambio de IP WAN o hubo algún retraso en la propagación? Cuando su IP cambia, ¿su Panel refleja el cambio de IP WAN? Cuando mi ip cambia mi Panel no refleja el cambio, para que lo refleje debo reiniciar el servidor. Me esta diciendo que emby connect, deberia hacer esto? Edited April 7, 2024 by INDICOHD
GrimReaper 4739 Posted April 7, 2024 Posted April 7, 2024 17 minutes ago, INDICOHD said: Me esta diciendo que emby connect, deberia hacer esto? Yes. 17 minutes ago, INDICOHD said: Cuando mi ip cambia mi Panel no refleja el cambio, para que lo refleje debo reiniciar el servidor. Never checked that as my server is behind a domain, but it really doesn't update IP in the Dashboard. @Lukejust tested this scenario: Upon WAN IP change (from WANIP1 to WANIP2), I can see network address change being detected: Quote 2024-04-07 19:45:33.405 Debug TaskManager: Rotate log file Completed after 0 minute(s) and 0 seconds 2024-04-07 19:45:33.438 Debug Server: http/1.1 GET http://localhost:9096/emby/ScheduledTasks?isHidden=false&X-Emby-Client=Emby Web&X-Emby-Device-Name=Microsoft Edge Windows&X-Emby-Device-Id=7a71349f-3529-4753-8474-0110775dc1b9&X-Emby-Client-Version=4.7.14.0&X-Emby-Language=en-gb. UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36 Edg/123.0.0.0 2024-04-07 19:45:33.439 Debug Server: http/1.1 Response 200 to ::1. Time: 1ms. http://localhost:9096/emby/ScheduledTasks?isHidden=false&X-Emby-Client=Emby Web&X-Emby-Device-Name=Microsoft Edge Windows&X-Emby-Device-Id=7a71349f-3529-4753-8474-0110775dc1b9&X-Emby-Client-Version=4.7.14.0&X-Emby-Language=en-gb 2024-04-07 19:45:49.237 Debug NetworkManager: NetworkAddressChanged 2024-04-07 19:45:50.091 Debug NetworkManager: NetworkAddressChanged 2024-04-07 19:45:50.091 Debug NetworkManager: NetworkAddressChanged However, Dashboard still lists WANIP1 - which is a broken link if followed - as current IP is WANIP2 AND if connecting with either WANIP2:port or through app.emby.media>Emby Connect (where dashboard also lists wrong WANIP1) server is reachable, meaning address change was propagated - why it ain't working for the OP can't say.
Luke 42077 Posted April 7, 2024 Posted April 7, 2024 The detection is for the LAN address changing, not the WAN address. That will take up to a few hours for the server to realize it, unless you restart it.
GrimReaper 4739 Posted April 7, 2024 Posted April 7, 2024 (edited) 7 minutes ago, Luke said: The detection is for the LAN address changing, not the WAN address. Why would any LAN address change be registered there, my server has static IP on LAN that doesn't (nor did, in this example) change? Only thing I could think of was me disconnecting from VPN to trigger WAN IP change. Does disconnecting from VPN client/TAP adapter register as LAN address change, as in multi-NIC environment? Edited April 7, 2024 by GrimReaper
GrimReaper 4739 Posted April 7, 2024 Posted April 7, 2024 13 minutes ago, Luke said: That will take up to a few hours for the server to realize it, unless you restart it. @INDICOHDin that case Dynamic DNS is the way to go in your scenario as any IP change should be much faster to propagate.
INDICOHD 9 Posted April 7, 2024 Author Posted April 7, 2024 2 minutes ago, GrimReaper said: @INDICOHDen ese caso, el DNS dinámico es el camino a seguir en su escenario, ya que cualquier cambio de IP debería ser mucho más rápido de propagar. Como podria implementar el DNS dinamico en mi servidor UNRAID. Podrias proporcionarme un poco de informacion. Soy muy novato en redes
Happy2Play 9780 Posted April 7, 2024 Posted April 7, 2024 (edited) 4 minutes ago, GrimReaper said: @INDICOHDin that case Dynamic DNS is the way to go in your scenario as any IP change should be much faster to propagate. But will the domain know both addresses (WAN1, WAN2) for easy switch over? As by default it would only update for one address correct? Edited April 7, 2024 by Happy2Play
GrimReaper 4739 Posted April 7, 2024 Posted April 7, 2024 2 minutes ago, Happy2Play said: But will the domain know both addresses (WAN1, WAN2) for easy switch over? As by default it would only update for one address correct? Correct, only the current one, client program (or even some routers) will take care of that. Example for Google domains, and if using some free DDNS service, their client app will do that automatically.
GrimReaper 4739 Posted April 7, 2024 Posted April 7, 2024 10 minutes ago, INDICOHD said: Como podria implementar el DNS dinamico en mi servidor UNRAID Sorry, not an unRAID user, maybe @jaycedkhas some hints?
Neminem 1518 Posted April 8, 2024 Posted April 8, 2024 Sorry can't help here. I have never played with failover internet connection.
Luke 42077 Posted April 10, 2024 Posted April 10, 2024 On 4/7/2024 at 6:05 PM, INDICOHD said: Como podria implementar el DNS dinamico en mi servidor UNRAID. Podrias proporcionarme un poco de informacion. Soy muy novato en redes How about noip?
Luke 42077 Posted April 10, 2024 Posted April 10, 2024 On 4/7/2024 at 5:54 PM, GrimReaper said: Why would any LAN address change be registered there, my server has static IP on LAN that doesn't (nor did, in this example) change? Only thing I could think of was me disconnecting from VPN to trigger WAN IP change. Does disconnecting from VPN client/TAP adapter register as LAN address change, as in multi-NIC environment? A more generalized way to put it is that the WAN address typically belongs to the router, not the server machine. Emby Server can detect ip address changes that are happening directly on the server machine.
INDICOHD 9 Posted April 10, 2024 Author Posted April 10, 2024 14 hours ago, Luke said: How about noip? Estoy mirando opciones gracias, entre ellas no ip 1
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now