hollerme 5 Posted May 17, 2019 Share Posted May 17, 2019 Hi. I am set to move abroad this Summer and was looking for help regarding a couple of important questions I have (related to each other). As I am keeping my Synology at my home so my family may be able to access Emby on it and continue to watch the movies I own, the first question I have is how can I set up my laptop and smartphone (I have a Samsung Galaxy S8+) to be able to access Emby from abroad and watch videos from my collection. The 2nd question I have is would I be able to continue adding videos to my Synology from abroad, and if so what are the steps to do so? Any help would be greatly appreciated and thank you tremendously to this community for all your help throughout. Link to comment Share on other sites More sharing options...
hollerme 5 Posted May 18, 2019 Author Share Posted May 18, 2019 If anyone knows if this is possible I would very much appreciate the help as I am keen to continue to use Emby while abroad to keep myself entertained. Link to comment Share on other sites More sharing options...
Luke 37064 Posted May 18, 2019 Share Posted May 18, 2019 The 2nd question I have is would I be able to continue adding videos to my Synology from abroad, and if so what are the steps to do so? @@FrostByte do you have any tips on this? Link to comment Share on other sites More sharing options...
Luke 37064 Posted May 18, 2019 Share Posted May 18, 2019 how can I set up my laptop and smartphone Hi, have you installed the Emby mobile app from the android app store? What is your laptop running, Windows? 1 Link to comment Share on other sites More sharing options...
FrostByte 5049 Posted May 18, 2019 Share Posted May 18, 2019 Sorry, I may not be able to help much as I don't use remote access on my Synology but the following thread has some good information on how to allow remote access https://emby.media/community/index.php?/topic/67010-remote-user-cannot-see-content/ 2 Link to comment Share on other sites More sharing options...
hollerme 5 Posted May 19, 2019 Author Share Posted May 19, 2019 Hi Luke, Yes I have the Emby mobile app on my phone which I downloaded from the Android app store. It works at home but the movement I leave the house I am unable to connect. My laptop is running Windows 10. Hi, have you installed the Emby mobile app from the android app store? What is your laptop running, Windows? Link to comment Share on other sites More sharing options...
Luke 37064 Posted May 19, 2019 Share Posted May 19, 2019 I would suggest checking out our connection troubleshooter: https://github.com/MediaBrowser/Wiki/wiki/Connectivity Please try the steps listed there and let us know which ones succeed and which ones do not. Thanks. 1 Link to comment Share on other sites More sharing options...
pmurphy0881 10 Posted May 23, 2019 Share Posted May 23, 2019 ...how can I set up my laptop and smartphone (I have a Samsung Galaxy S8+) to be able to access Emby from abroad and watch videos from my collection. The 2nd question I have is would I be able to continue adding videos to my Synology from abroad, and if so what are the steps to do so? I am assuming that nobody here is running a commercial internet service to their house with static ip's... So that being said I would look at doing the following. 1.) Check your firewall/router to see if you can do port forwarding... Almost all of them do setup your PC, synology, routers, whatever you want with a DDNS service (Some routers have it built in). It doesn't matter what device you set it up on as long as it's running and inside your network. This will allow you to setup a name instead of an ip address to your emby installation. Now complete the port forwarding setup and direct the port numbers that you want to reference externally directed to your emby server internal IP address and port. 2.) This one really depends on what is available from the Synology... I did a quick search online and found that on you tube there is someone who has gone over the available methods to solve your problem. Just keep in mind that if you do this first and they ask you to setup a DDNS service, then you can skip that from my list above. You would only need to do the port forwarding. The link to his video is below to give you an overview. Hope that this helps you out some. 1 Link to comment Share on other sites More sharing options...
Luke 37064 Posted May 24, 2019 Share Posted May 24, 2019 Thanks @@pmurphy0881 ! Link to comment Share on other sites More sharing options...
hollerme 5 Posted May 24, 2019 Author Share Posted May 24, 2019 (edited) Thanks for this, I'm trying to follow the steps and thus far everything appears to be going well so I'm grateful for these steps but when I go on Emby on my phone (I turned off the wi-fi to test it out) I don't know what to input under Host. The port figure is automatically filled (it says 8096) but I am at a loss for what to fill out host with. I attempted the external synology page I created following the youtube video (username.synology.me) but that didn't work. I also went to Emby settings on my laptop and inputted the Remote (WAN) access figure on my phone in that same field but got an error message then too (Connection failure). Any suggestions? Any suggestions? I am assuming that nobody here is running a commercial internet service to their house with static ip's... So that being said I would look at doing the following. 1.) Check your firewall/router to see if you can do port forwarding... Almost all of them do setup your PC, synology, routers, whatever you want with a DDNS service (Some routers have it built in). It doesn't matter what device you set it up on as long as it's running and inside your network. This will allow you to setup a name instead of an ip address to your emby installation. Now complete the port forwarding setup and direct the port numbers that you want to reference externally directed to your emby server internal IP address and port. 2.) This one really depends on what is available from the Synology... I did a quick search online and found that on you tube there is someone who has gone over the available methods to solve your problem. Just keep in mind that if you do this first and they ask you to setup a DDNS service, then you can skip that from my list above. You would only need to do the port forwarding. The link to his video is below to give you an overview. Hope that this helps you out some. Edited May 24, 2019 by hollerme Link to comment Share on other sites More sharing options...
chef 3745 Posted May 24, 2019 Share Posted May 24, 2019 (edited) You would use your public ip address. But beware that public ips change to thwart attacks, so you'll have to keep an eye on that. Edited May 24, 2019 by chef Link to comment Share on other sites More sharing options...
chef 3745 Posted May 24, 2019 Share Posted May 24, 2019 (edited) Might be too advanced, but if you are serious about accessing media remotely, maybe a domain purchase isn't out of the question here. Then you can update the records on the domain consistently, and log into emby using a domain name. Not sure if it is too much of a recommendation for ya. EDIT: my domain get checked and updated every hour with a script that run on my server, so even if the ISP changes my public address, the script catches it and changes the domains A type records automatically... Edited May 28, 2019 by chef 1 Link to comment Share on other sites More sharing options...
pmurphy0881 10 Posted May 25, 2019 Share Posted May 25, 2019 You don't want to setup your app using the external IP address... That is subject to change before you are able to get back. The whole key to being able to access your system from a Dynamic IP address is to have your Synology setup with a DDNS server. By doing this it will provide you with a domain name that will use whatever the current IP address of your Synology is... So in a couple of weeks, days, months, etc... when your ISP changes your IP address you will still be able to access it. So to better assist you in figuring this out help me out with a few things. 1.) Did you setup your Synology with DDNS and did you take not of the domain name that they provided you? 2.) What type of router or modem do you have? 3.) Is your router also your modem like a Verizon Fios modem would be or is it 2 items like a standalone cable modem that then feeds to a separate router? 3a.) If it's separate then please provide me with the model of your modem. 4.) If DDNS was setup and you have a domain name for your Synology box, have you done any port forwarding in your modem and/or router to ensure that the traffic can get in from the outside? If you can help me out with some of that I'm sure that we can get you up and running. 1 Link to comment Share on other sites More sharing options...
Luke 37064 Posted May 28, 2019 Share Posted May 28, 2019 @@hollerme has any of this information helped? Link to comment Share on other sites More sharing options...
hollerme 5 Posted May 28, 2019 Author Share Posted May 28, 2019 Thanks for this, and to answer your questions: 1.) Did you setup your Synology with DDNS and did you take not of the domain name that they provided you? Is this the one that goes username.synology.me in which case yes I did. 2.) What type of router or modem do you have? BT Smart Hub 3.) Is your router also your modem like a Verizon Fios modem would be or is it 2 items like a standalone cable modem that then feeds to a separate router? 3a.) If it's separate then please provide me with the model of your modem. I believe my router is also my modem. 4.) If DDNS was setup and you have a domain name for your Synology box, have you done any port forwarding in your modem and/or router to ensure that the traffic can get in from the outside? I think so (I used the YouTube video above) but plan on calling my internet provider to check and confirm. You don't want to setup your app using the external IP address... That is subject to change before you are able to get back. The whole key to being able to access your system from a Dynamic IP address is to have your Synology setup with a DDNS server. By doing this it will provide you with a domain name that will use whatever the current IP address of your Synology is... So in a couple of weeks, days, months, etc... when your ISP changes your IP address you will still be able to access it. So to better assist you in figuring this out help me out with a few things. 1.) Did you setup your Synology with DDNS and did you take not of the domain name that they provided you? 2.) What type of router or modem do you have? 3.) Is your router also your modem like a Verizon Fios modem would be or is it 2 items like a standalone cable modem that then feeds to a separate router? 3a.) If it's separate then please provide me with the model of your modem. 4.) If DDNS was setup and you have a domain name for your Synology box, have you done any port forwarding in your modem and/or router to ensure that the traffic can get in from the outside? If you can help me out with some of that I'm sure that we can get you up and running. Link to comment Share on other sites More sharing options...
hollerme 5 Posted May 28, 2019 Author Share Posted May 28, 2019 (edited) It has, I've replied to one of the posts above just now so hopefully with the community's support I can get remote access up and running this week. @@hollerme has any of this information helped? Edited May 28, 2019 by hollerme 1 Link to comment Share on other sites More sharing options...
hollerme 5 Posted May 29, 2019 Author Share Posted May 29, 2019 Okay, I am trying to create a port forwarding rule on my router. It shows available devices some of which have titles that make sense (Android) and others which don't. How do I find out which one my Synology is? Link to comment Share on other sites More sharing options...
pmurphy0881 10 Posted May 29, 2019 Share Posted May 29, 2019 AWESOME!!! That is the info that I needed. So yes, you do have a DDNS service configured for your synology device. It is the <name>.synology.me that has been assigned to your device. So the only thing standing in your way is the port forwarding to get this working. So what you are going to want to do is to now find the ip address of your synology device and setup the port forwarding. There is a link below for your make/brand of gateway router on how to setup port forwarding, but there are a few versions so not sure which one to direct you to. http://bt.custhelp.com/app/answers/detail/a_id/8790/~/how-do-i-set-up-port-forwarding-on-my-bt-hub%3F If you cannot identify by IP the device(your synology) that you want to direct the traffic to then you will need to find the mac address for the synology. Most will show both the IP and Mac when choosing a device. Synology has been assigned the following mac identifier 00:11:32 so should you not be able to find it and you only have 1 synology hooked up look for a mac address starting with that code. It should be your synology. 1 Link to comment Share on other sites More sharing options...
hollerme 5 Posted May 29, 2019 Author Share Posted May 29, 2019 Thanks for this, I have identified my Synology with your tip and am now on the next step to set up port forwarding. For the Internal/External Ports do I just fill it with the number 80? And what Protocol should I select (options were: TCP, UDP, TCP/UDP)? AWESOME!!! That is the info that I needed. So yes, you do have a DDNS service configured for your synology device. It is the <name>.synology.me that has been assigned to your device. So the only thing standing in your way is the port forwarding to get this working. So what you are going to want to do is to now find the ip address of your synology device and setup the port forwarding. There is a link below for your make/brand of gateway router on how to setup port forwarding, but there are a few versions so not sure which one to direct you to. http://bt.custhelp.com/app/answers/detail/a_id/8790/~/how-do-i-set-up-port-forwarding-on-my-bt-hub%3F If you cannot identify by IP the device(your synology) that you want to direct the traffic to then you will need to find the mac address for the synology. Most will show both the IP and Mac when choosing a device. Synology has been assigned the following mac identifier 00:11:32 so should you not be able to find it and you only have 1 synology hooked up look for a mac address starting with that code. It should be your syno Link to comment Share on other sites More sharing options...
pmurphy0881 10 Posted May 30, 2019 Share Posted May 30, 2019 Thanks for this, I have identified my Synology with your tip and am now on the next step to set up port forwarding. For the Internal/External Ports do I just fill it with the number 80? And what Protocol should I select (options were: TCP, UDP, TCP/UDP)? 1.) What ports do I just fill it with? You are going to setup 2 port forwards. One for http and one for https If you are using the standard Emby installation you will use port 8096 for http and 8920 for https. 1a.) When setting these ports you should have an option for source port number and destination port number. They should be the same. Example: Source Port number: 8096 Destination: Your Synology device Destination port number: 8096 Protocol: TCP 2.) What protocol should I select? TCP When you setup your app on your mobile device after you have this setup you will enter the DDNS name given to you by synology as the server name/destination and the port number that your emby server uses. I would first try the 8096 port first so we don't have to worry about any SSL certifications getting in the way. 1 Link to comment Share on other sites More sharing options...
hollerme 5 Posted May 30, 2019 Author Share Posted May 30, 2019 Hi, I don't see http or https - this is what is on my screen when creating the port forwarding rule: So that I don't make a mistake can you advise which figure I should input into each of these 3 fields? 1.) What ports do I just fill it with? You are going to setup 2 port forwards. One for http and one for https If you are using the standard Emby installation you will use port 8096 for http and 8920 for https. 1a.) When setting these ports you should have an option for source port number and destination port number. They should be the same. Example: Source Port number: 8096 Destination: Your Synology device Destination port number: 8096 Protocol: TCP 2.) What protocol should I select? TCP When you setup your app on your mobile device after you have this setup you will enter the DDNS name given to you by synology as the server name/destination and the port number that your emby server uses. I would first try the 8096 port first so we don't have to worry about any SSL certifications getting in the way. Link to comment Share on other sites More sharing options...
pmurphy0881 10 Posted May 30, 2019 Share Posted May 30, 2019 Since you are only using 1 port you would have the start and end port be the same. External Internal Ports Ports Start End Start End 8096 8096 8096 8096 What I meant by http was that you will access your Emby server using an standard http web connection... You just won't be using the standard port assigned to that.... And that's good, you shouldn't for something like this. 1 Link to comment Share on other sites More sharing options...
hollerme 5 Posted June 2, 2019 Author Share Posted June 2, 2019 (edited) Thank you, I turned my phone's wi-fi off and it worked so looks like good news and thank you so much for this! Would you happen to know what I need to do to achieve the same when my laptop is abroad (and also to copy files onto my Emby server/Synology again when away)? Or is that just a case of going to username.synology.me and dragging the files on to it? I'm really delighted about this! Since you are only using 1 port you would have the start and end port be the same. External Internal Ports Ports Start End Start End 8096 8096 8096 8096 What I meant by http was that you will access your Emby server using an standard http web connection... You just won't be using the standard port assigned to that.... And that's good, you shouldn't for something like this. Edited June 2, 2019 by hollerme Link to comment Share on other sites More sharing options...
pmurphy0881 10 Posted June 3, 2019 Share Posted June 3, 2019 (edited) Thank you, I turned my phone's wi-fi off and it worked so looks like good news and thank you so much for this! Would you happen to know what I need to do to achieve the same when my laptop is abroad (and also to copy files onto my Emby server/Synology again when away)? Or is that just a case of going to username.synology.me and dragging the files on to it? I'm really delighted about this! You would just go to your synology domain through the web along with the proper port number. http://username.synology.me:8096 then log in. cant help much with the synology part for file transfers, but that video or the synology webite may have more on that. you just want to make sure that if more ports need to be forwarded that you do it before you leave and no longer have access to your router. Edited June 3, 2019 by pmurphy0881 Link to comment Share on other sites More sharing options...
yarez0 22 Posted June 4, 2019 Share Posted June 4, 2019 (edited) You can add more security globally to your synology with https connection and embeded reverse proxy, it's a little bit tricky but you can redirect all traffic to https/443 with a certificate and HSTS. with that you only have to open 80 and 443 ports to the internet. Here is my setup, do all the steps locally to avoid network discruption. STEP 1 : open ports 80 and 443 to internet log to your router, in my case in France it is a Freebox, redirect 80 and 443 to internal IP of your synology. 1 port = 1 rule STEP 2 : create a ddns name in my case its a noip account, you can have 3 dynamic dns for free. create your account and your domain name. if you are creating it at your home the setup will put your public IP directly. create a DNS HOST (A) and fill the right public IP STEP 3 : configure DDNS update in the synology in my case the DDNS is configured into my router but you can configure it in the synology. CONTROL PANNEL - EXTERNAL ACCESS - DDNS - CREATE fill you DDNS service provider, domain name and account, by default the synology knows the external IP. test the connection, the status has to be normal STEP 4 : adding security STEP 4a : redirect all traffic to https/443 port go to CONTROL PANNEL - NETWORK - DSM PARAMETERS and activate redirections http to https, HTTP/2 and ngynx, then activate personnal domain name with your DOMAIN NAME and HSTS now your web server will restart, if you try to connect to your synology with http://<name>.ddns.net (in my case) it will redirect to https://<name>.ddns.net. with that you don't have to connect externaly to your synology with the 5000 or 5001 port (and blocked by firewalls generally). all the traffic pass through 443/https port STEP 4b : create a let's encrypt certificate 443 is good, certificate is better, go to CONTROL PANNEL - SECURITY - CERTIFICATE. choose LET'S ENCRYPT and fill your domain name and your mail address. The OTHER NAME is if you want multiple name with the same certificate. in my case I have : XXXX.ddns.net is my primary domain name XXXXvideos.ddns.net is a second name for emby (you have to create it in your DDNS service provider) XXXXplex.ddns.net is my third name for plex (you have to create it in your DDNS service provider) and multiple other names once create, you can show all the services mapped to your certificate after reload of the syno web server, you have a valid certificate and crypted connections STEP 5 : reverse proxy emby now we have to redirect 8096 emby port to 443 to enjoy https, HSTS and your certificate, but if XXXX.ddns.net is your synology, how connect to emby ? by creating redirecting host name in your DDNS service provider and reverse proxying STEP 5a : new DDNS host name go back to your DDNS service provider and create a new host name : create a hostname record type : DNS ALIAS (CNAME) target : your domain name so XXXXvideos.ddns.net will redirect to XXXX.ddns.net STEP 5b : reverse proxying go to CONTROL PANNEL - APPLICATIONS PORTAL - REVERSE PROXY create a redirection like this : you said : https connections to XXXXvideos.ddns.net (in my case) on the 443 port with HSTS and HTTP/2 redirect to HTTPS, localhost, on port 8920 (8920 is the https port) you can redirect to HTTP, localhost, on port 8096, I put 8920 for testing an other thing and I let it and your done ! I don't configure anything else in emby, no external connection, the only security is for Ombi, all the configuration is made by the syno STEP 6 : add your second name to your certificate you created a certificate with your domain name on STEP 4b but you did not create your second name, so if you connect to XXXXvideos.ddns.net you will have a certificate name problem. go back to CONTROL PANNEL - SECURITY - CERTIFICATE and renew your certificate, recreate it and add your second name and voilà ! with that, I have multiple services on my synology (video station, file station, audio station, plex, emby, ombi, unifi controller, photos web server...), I reverse proxy everything so the only port accessible externaly are 80 (for let's encrypt renew) and 443. note that if you wants to resolve your public DNS in your local network, you have to install the synology's DNS server, create a zone master with your public name local IP of your NAS add redirector (google, cloud flare...) the modify your router DHCP to make your NAS as DNS server instead of the router itself note that if your nas is down you will not be able to resolve any public dns name (of course) enjoy Edited November 6, 2020 by yarez0 add DNS Server info 4 Link to comment Share on other sites More sharing options...
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