Jump to content


Photo

Local and Remote Access

Remote Access Port Forwarding Networking Help

  • Please log in to reply
11 replies to this topic

#1 Moleburt OFFLINE  

Moleburt

    Member

  • Members
  • 18 posts
  • Local time: 03:36 AM

Posted 27 December 2017 - 01:36 PM

I have a question I'm curious if anyone knows the answer to. I currently use Emby for home use, because for some reason Plex doesn't work on my local network, but I have people that use my Plex for remote access. So yesterday I finally decided to figure and set up Emby for remote access, I added the port forwarding to my router and tested it out, it worked. Then I went to use Emby at home and it wouldn't work on the local network, kept getting errors, but as soon as I deleted the port forwarding I had added to my router it worked like normal again. Ideally I would like to be able to use just one program for both local and remote access, and I believe if I deleted the port forwarding I had setup for plex it would likely fix the issue with that as well on my local network. Does anyone have any ideas of what the issue I am having is and possible solutions? Any help would be greatly appreciated.

 

Nick



#2 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 124473 posts
  • Local time: 06:36 AM

Posted 27 December 2017 - 02:28 PM

Hi, what do you mean wouldn't work on the local network? can you please provide a little more information? Thanks !



#3 Moleburt OFFLINE  

Moleburt

    Member

  • Members
  • 18 posts
  • Local time: 03:36 AM

Posted 27 December 2017 - 02:46 PM

I could open emby and it would look like everything loaded, but then when I tried to play something I would get an error about playback, as soon as I got rid of the port forwarding I had setup everything worked fine again. The only other thing I noticed was Emby seemed to load everything very slowly. That really all I can think of that explains it, I wish there was more that I could say, but that really was the entirety of the issue. Maybe I set something up wrong in the Port Forwarding, not really sure. It seemed to be working remotely, but local wasn't.

 

Nick



#4 legallink OFFLINE  

legallink

    Advanced Member

  • Alpha Testers
  • 1166 posts
  • Local time: 06:36 AM

Posted 27 December 2017 - 04:02 PM

A couple of things:

Do you have separate networks? Aka are you double nat’d?

Other questions, do you have clans? Or possibly isolated IP addresses? It sounds like when you are port forwarding you are isolating that device.
  • Tur0k likes this

#5 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 124473 posts
  • Local time: 06:36 AM

Posted 27 December 2017 - 04:10 PM

I could open emby and it would look like everything loaded, but then when I tried to play something I would get an error about playback, as soon as I got rid of the port forwarding I had setup everything worked fine again. The only other thing I noticed was Emby seemed to load everything very slowly. That really all I can think of that explains it, I wish there was more that I could say, but that really was the entirety of the issue. Maybe I set something up wrong in the Port Forwarding, not really sure. It seemed to be working remotely, but local wasn't.

 

Nick

 

To me this all sounds unrelated. What exactly do you mean by opening Emby? How are you doing that?



#6 Tur0k OFFLINE  

Tur0k

    Advanced Member

  • Members
  • 510 posts
  • Local time: 04:36 AM

Posted 27 December 2017 - 04:29 PM

Yea, a port forward is a rule that would apply to traffic coming into your network from the public Internet. This should not apply or disallow traffic from your internal network to your internal Emby server.

When you are remote do you use a public DDNS domain that points to your public IP address? If so are you trying to use the same DDNS domain when you are on your internal network? If both of the above are true do you have a feature called NAT reflection (aka NAT loopback) available on the home router?


Sent from my iPhone using Tapatalk

Edited by Tur0k, 27 December 2017 - 04:30 PM.


#7 Moleburt OFFLINE  

Moleburt

    Member

  • Members
  • 18 posts
  • Local time: 03:36 AM

Posted 27 December 2017 - 05:27 PM

Sorry I should have specified, this is happening using the Roku Empy app. Everything on the server/pc side seems to be fine, but when I added the port forwarding it caused the issues when connecting via Roku App on my local network. As for having seperate networks or any of that stuff, I don't have anything like that. All I know is I used this tutorial when I first set up Plex the way it is. Then when I was trying to make Emby work remotely I just followed the instructions that is linked next to where it says "Remote (WAN) Access" on my Emby Dashboard, it has a help button that takes you here. I followed those instructions, as well as used the first link underneath the "Set Up Port Forwarding" section. Here is a screen shot of my port forwarding page on my router, the emby one is gone, but was setup the same, just a different port. Hopefully I gave better detail this time, I'm not sure what else to add. I'm not the best with the networking side of this.5a440fef00c86_ScreenShot.png


Edited by Moleburt, 27 December 2017 - 05:28 PM.


#8 Tur0k OFFLINE  

Tur0k

    Advanced Member

  • Members
  • 510 posts
  • Local time: 04:36 AM

Posted 27 December 2017 - 05:39 PM

What URL do you use when you connect a client on the public Internet to your Emby server? If you use a DDNS it would look like:
Http://<myddnsdomain>:8096
Or
Http://<myddnsdomain>:8920

when you connect a client to Emby on your internal LAN you should use something like:
Http://192.168.1.###:8096

If you attempt to use:
Http://<myddnsdomain>:8096

While connected to your internal network you would need NAT reflection (AKA NAT loopback) enable on your router.


Sent from my iPhone using Tapatalk

#9 Moleburt OFFLINE  

Moleburt

    Member

  • Members
  • 18 posts
  • Local time: 03:36 AM

Posted 27 December 2017 - 11:20 PM

I think that the NAT loopback is the issue, and I did some research and unfortunately for me, it appears that Linksys routers with the Smart Wifi cannot do NAT Loopback, but from everything I've read, that appears to likely be why port forwarding messes with the server on the local network, but it works fine remotely.

 

Nick



#10 ebr OFFLINE  

ebr

    Chief Bottle Washer

  • Administrators
  • 43761 posts
  • Local time: 06:36 AM

Posted 28 December 2017 - 11:35 AM

I think that the NAT loopback is the issue, and I did some research and unfortunately for me, it appears that Linksys routers with the Smart Wifi cannot do NAT Loopback, but from everything I've read, that appears to likely be why port forwarding messes with the server on the local network, but it works fine remotely.

 

Nick

 

The system should still work.

 

How, exactly, are you connecting to the server when on the local network?  If you are using the standard server discovery and just clicking on the server then it should use the local address for your server and the port forwarding would have no effect.

 

It sounds like you are using the external address for your server from within your network.  You don't want to do that.



#11 mastrmind11 OFFLINE  

mastrmind11

    Advanced Member

  • Members
  • 2613 posts
  • Local time: 06:36 AM
  • LocationLong Island, NY

Posted 28 December 2017 - 11:57 AM

What @Tur0k said is basically describing what happens when you try to use a domain address on your local network with no NAT loopback enabled.  You confirmed it by stating that your router cannot do loopbacks.  @ebr elaborated further and said you need to use your internal server IP when using Emby on your local network.  So try opening a browser and typing your Emby server IP and specify port 8096.  I bet that will work.  Port forwarding should have zero effect on a basic internal network.



#12 Tur0k OFFLINE  

Tur0k

    Advanced Member

  • Members
  • 510 posts
  • Local time: 04:36 AM

Posted 28 December 2017 - 03:59 PM

I think that the NAT loopback is the issue, and I did some research and unfortunately for me, it appears that Linksys routers with the Smart Wifi cannot do NAT Loopback, but from everything I've read, that appears to likely be why port forwarding messes with the server on the local network, but it works fine remotely.

Nick

Have you tested to confirm whether you can access your Emby install from

http://192.168.1.###:8096

(Where "192.168.1.###" is the local SUBNET static ip or dhcp reserved IP address of your Emby server.)

If the above works then there isn't anything wrong with your Emby install.

If the above works then, you need to plan to either:
1. access locally this way and use your DDNS when public.
2. Find a router that has NAT loopback in order to use the same domain internally or externally.
3. Host a local DNS server that allows you to explicitly direct internal DNS requests for your public domain to a local IP address instead of your public IP address.

If the above didn't work you likely have a firewall (windows defender firewall) problem on the host server.

I often see people set their computer to not be discoverable on their local LAN or the LAN gets tied to the public network type. This stops all communication with the local LAN including Emby.

To resolve set the Emby server to to be in the private network type.

https://tinkertry.co...ork-connections

The. Check that you have an advanced firewall rule to explicitly allow inbound port 8096 and 8920 for the private network type.

Sent from my iPhone using Tapatalk

Edited by Tur0k, 29 December 2017 - 12:25 AM.






Also tagged with one or more of these keywords: Remote Access, Port Forwarding, Networking, Help

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users