Petr1 0 Posted May 26, 2025 Posted May 26, 2025 Dobrý den V OS routeru mám nainstalovaný a spuštěný server Emby v LXC kontejneru. V mobilu mám Emby klienta, přes kterého bych chtěl přehrávat hudbu. Když jsem v LAN se serverem Emby, klient se připojí k serveru a mohu přehrávat hudbu. Když jsem mimo LAN a chci přehrávat hudbu, nemohu se připojit k serveru z WAN v klientovi. Myslel jsem si, že to půjde. Nevím, kde dělám chybu. Vyžaduje klient Emby veřejnou IP adresu mého routeru? Nejsem si úplně jistý, jestli mi ho přidělil můj ISP a pokud ano, je to pravděpodobně jen IPv6. Jak úspěšně připojím klienta Emby k serveru Emby přes WAN?
Abobader 3464 Posted May 26, 2025 Posted May 26, 2025 Hello Petr1, ** This is an auto reply ** Please wait for someone from staff support or our members to reply to you. It's recommended to provide more info, as it explain in this thread: Thank you. Emby Team
Luke 42077 Posted May 26, 2025 Posted May 26, 2025 Hi, what exactly happens when you try to connect to the server?
pwhodges 2012 Posted May 26, 2025 Posted May 26, 2025 3 hours ago, Petr1 said: I have an EMBY server in the LXC container installed and running in the router. On my mobile I have an EMBY client through which I would like to play music. When I am in LAN with EMBY server, the client connects to the server and I can play music. When I am outside the LAN and I want to play music, I cannot connect to the server from WAN in the client. I thought That it will. I don't know where I make a mistake. Does the EMBY client require a public IP address of my router? I'm not quite sure if my ISP gave it to me, and if so, it's probably just IPv6. How will I successfully attach the EMBO client to the EMBA server via Wan? To access from outside the client needs the external/WAN address - the internal/local address is just that. You can find your external address using a web site like canyouseeme.org, but Emby should also show it on its dashboard. You also need to tell Emby that you want external access - otherwise it will refuse it. And the router may need to be set up to forward messages from the WAN (Emby can be made to try setting this up for you using uPNP, but this may need to be enabled, both in Emby and in the router). The procedure is described in the Emby "connectivity" documentation: https://emby.media/support/articles/Connectivity.html Paul
Petr1 0 Posted May 27, 2025 Author Posted May 27, 2025 Při pokusu o připojení přes Emby Connect se vrátím na obrazovku výběru možností připojení. V nastavení Emby serveru mám uživatele se stejným e-mailem a heslem, jako je ten, se kterým se pokouším přihlásit přes Emby Connect, ale nejsem přihlášen. Při pokusu o připojení zadáním IP adresy se zobrazí upozornění, viz snímek obrazovky mobilního telefonu. A je jedno, jestli zadám IPv4 nebo IPv6. K mému routeru zřejmě není IPv4 připojení, alespoň se mi to tak zdá při kontrole spojení v administraci routeru, viz přiložený screenshot. Ale ani po zadání IPv6 ke spojení nedojde. Nevím, jestli to může firewall routeru zablokovat? V nastavení Emby serveru mám povolené vzdálené připojení a mám zapnuté automatické mapování portů. Operačním systémem LXC kontejneru, ve kterém server Emby běží, je Linux Debian Buls Eye. Operačním systémem routeru je Turris OS založený na linuxové distribuci OpenWrt.
pwhodges 2012 Posted May 27, 2025 Posted May 27, 2025 I suspect your IPv4 problem is likely to be cgNAT. However, IPv6 may be able to work, so long as the router's firewall is allowing it in; but do you know your server's IPv6 address...? Paul
Petr1 0 Posted May 27, 2025 Author Posted May 27, 2025 Znám IPv6 adresu svého routeru. V administraci routeru je v nějaké zkrácené podobě a na internetových stránkách se zobrazuje v dlouhé verzi. Nevím, jestli to tady můžu zveřejnit? Neznám IPv6 samotného serveru v LXC kontejneru. Pokusil jsem se přihlásit k serveru na stránce https://app.emby.media/#!/startup/manualserver.html přes IPv6 routeru ve zkrácené i dlouhé podobě a odpověď byla: Nemohu se připojit k serveru V současné době stále pracuji na fóru podpory pro můj router (Turris Omnia), aby bylo možné provoz přes IPv6, pouze pro mého mobilního operátora (O2 CZ), Abych co nejvíce omezil možnost útoků na můj router, ale aby nedocházelo k blokování připojení ze sítě mobilního operátora.
pwhodges 2012 Posted May 27, 2025 Posted May 27, 2025 I suspect that your engagement with the community for the router will be the way to fix this. But if problems remain, it might help you to make more specific questions for the Emby community. Paul
Petr1 0 Posted May 29, 2025 Author Posted May 29, 2025 Zjistil jsem tedy, jaký IPv6 je přiřazen k LXC kontejneru v mém routeru a v jakém rozsahu IPv6 adres je můj mobil. S komunitou podpory mého routeru jsem přišel na to, jak nastavit firewall tak, abych mohl přistupovat k LXC kontejneru v routeru z mobilu ve WAN přes IPv6. V konfiguraci firewallu jsem udělal nastavení tak, aby oba porty Emby serveru (8096, 8920) byly přístupné přes IPv6 z WAN. Dostupnost portů jsem otestoval pomocí online testeru Online skener portů IPv6 - SubnetOnline.com. Bohužel ani jeden port není otevřený, nebo na něm nic nenaslouchá. Zkontroloval jsem také nastavení firewallu na portu 80, což je místo, kde naslouchá webový server v LXC kontejneru, a tento port je otevřený a z mobilu ve WAN se dostanu na web poskytovaný webovým serverem. Port 8096 je běžně přístupný z LAN, tak proč není přístupný také z WAN, když je k dispozici port 80 se stejným nastavením brány firewall? V nastavení Emby serveru mám povoleno vzdálené připojení a povoleno automatické mapování portů. Zkoušel jsem vypnout automatické mapování portů, ale nemělo to žádný účinek.
Luke 42077 Posted June 16, 2025 Posted June 16, 2025 Quote Port 8096 is normally accessible from the LAN, so why is it not also accessible from the WAN when port 80 is available with the same firewall settings? @Petr1did you setup port forwarding in your router?
Petr1 0 Posted June 17, 2025 Author Posted June 17, 2025 (edited) Hello Luke, I'm not very knowledgeable about this, so I'm not sure. But I think the firewall has a redirection set up, see the picture. Finally, as you can see from the picture, I installed the Jellyfin server. I also had a problem connecting to Jellyfin from the WAN via IPv6. I took the help of the artificial intelligence Copilot in Windows and with it I managed to configure Jellyfin and the router. Now I can access Jellyfin from the WAN via IPv6. I think the problem was that Jellyfin and probably Emby do not normally listen to port 8096 via IPv6. Edited June 17, 2025 by Petr1
Luke 42077 Posted June 17, 2025 Posted June 17, 2025 Quote Emby do not normally listen to port 8096 via IPv6. Hi, Emby does. It listens in dual mode to respond to both ipv4 and ipv6. Did you try shutting down or removing that other software and just trying to use the same rule with Emby?
Happy2Play 9780 Posted June 17, 2025 Posted June 17, 2025 2 hours ago, Petr1 said: Emby do not normally listen to port 8096 via IPv6. Have you looked at your server log for "Info NetworkManager: Detected local ip addresses:" in a startup log?
Petr1 0 Posted June 20, 2025 Author Posted June 20, 2025 I have to confirm that the Emby server works with an IPv6 address, just like the Jellyfin server. So my previous statement was a mistake and the inability to connect from a mobile phone from the WAN via IPv6 was probably caused by something other than the Emby server not listening on port 8096 via IPv6. So now I will connect from a mobile phone to the Emby server via IPv6. But I will stay with the Jellyfin server, its mobile application suits me better, because it is localized into Czech.
Luke 42077 Posted June 20, 2025 Posted June 20, 2025 Hi, our apps are also localized in Czech. Did you notice that?
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