Jump to content


Photo

Weird problem with port forwarding

port forwarding remote access

  • Please log in to reply
3 replies to this topic

#1 halvdan OFFLINE  

halvdan

    Newbie

  • Members
  • 2 posts

Posted 02 March 2019 - 11:11 AM

I'm running emby on 218+ with Linksys ea8500.

 

emby worked great out of the box when playing locally, however when I looked into remote access, I ran into problems.

 

I could not access the server remotely, so obviously like recommended, I had to port forward. I have done that before so I'm familiar with it.

So I open the port in the router and remote access works. However, local playback is now crippled. It constantly buffers or won't play at all.

If I remove the port forwarding in the router, local playback works again.

I have tried port forwarding the default 8096 port and also other different port numbers. Same result. Local playback is crippled.  

 

Does anyone know what problem could be? To me this looks to be some kind of port conflict. Local vs remote.. I don't know.

 

Thanks



#2 CChris OFFLINE  

CChris

    Advanced Member

  • Members
  • 316 posts
  • Local time: 12:58 PM

Posted 03 March 2019 - 06:26 AM

Hi,
I'm forwarding port 443 and port 80 to my synology.
There, I have setup a reverse proxy and a virtual host.

 

the virtual host is listening to port 80 and redirecting / rewriting to https (443).
Then, the reverse proxy will do the rest and forwargind locally to emby on port 8096

it looks like this for my setup:

Portforwarding on the Router:
5c7baa7df05e3_2019030311_16_40FRITZBox64

Reverse Proxy Settings in Synology:
5c7baa9d60437_2019030311_17_53DS218Synol

Webstation Virutal Host settings.
5c7baac411c69_2019030311_18_41DS218Synol

.htaccess file in the virtual host
5c7baae1e29ca_2019030311_19_37C__Users_C

This setup works perfectly fine for me.
It allows me, that I can connect emby only through https - with a let's encrypt certificate even if I try to connect with http - it will switch to https.
I haven't noticed any issues / diiferences between remote connection and local connection.

 



#3 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 140472 posts
  • Local time: 05:58 AM

Posted 03 March 2019 - 11:29 PM

@halvdan please let us know if this helps. 

 

Thanks CCHris !



#4 halvdan OFFLINE  

halvdan

    Newbie

  • Members
  • 2 posts

Posted 04 March 2019 - 03:37 PM

Thanks CChris

 

This seems a bit too advanced for my skill level.. but I'll give it a try







Also tagged with one or more of these keywords: port forwarding, remote access

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users