I set up a self-hosted local network using Zero Tier or Tailscale(reccomend) without opening ports, put the server and client devices in it, and Sunshine and Moonlight worked even on an external network, so I'm writing this just to be sure.
Thats cool you can access the entire pc, like you dont even need RealVNC, TeamViewer, Anydesk, etc anymore. Is it possible to allow it to stream two games to two people at the same time, like say you build a very powerful pc and keep it in your basement and then your kids each have like a small form factor or micro pc in their rooms, but each could play their own fully rendered 3d game using the CPU and graphics processing of your server in your basement?
That is actually possible with duostream but the quality of the stream isnt as good unless you pay a certain amount but I’m sure its not that expensive. You can still use it for free though. if you need some help please let me know. Thanks for the support!
Port fowarding was the biggest headache ever when i was setting up a gta five m server to let people join hope i can still remember how to do it with my router
I had this problem. It's so tough. Try switching browsers, cos I went from Firefox to Chrome temporarily to try make it work. That didn't work either but it did for other people. For me, I uninstalled Sunshine then reinstalled it. For some reason that worked, using Chrome by the way.
Hey so I checked the manual and there is no need because the auto version actually updated the manual location for ports. So it should work as I checked and they are all correct. Its not working saying "unable to connect to specified PC" This is for another network. Sunshine on the gaming pc and it worked on local network with the client on moolight. Where to go from here ?
I saw MelonDS had an update that lets you separate the top and bottom screens into separate windows, can you help me figure out how to stream the bottom to moonlight while having the top screen on my desktop monitor?
Is there any way to do this without high jacking the machine. Like create a VM to be the streaming server. That way this machine would never know it is a host unless the resources is being used?
It’s a setting within sunshine, found it a few mins after this post if anyone looks for it, make sure it’s set to anyone can connect, rather then just local host!
Sorry for the late response but im glad you figured it out! its not really recommended to do that since its only password protected but if you’re only using this on your local network then it should be fine
I'm not being able to connext , I'm using my other mobile as usb tergering as server and my other phone as clien, tried everything not worked for me, please help
Hmm is it just a parsec/teamviewer remote control stuff? Or can I play normally on my pc while a family member use moonlight to open another game in a sandbox and use my pc as his running machine without interrupting my own session? will our mouses and keyboards just interfere with each other?
By default it is only for one person to use the computer at a time, but with something like duostream, you can achieve what ur looking for. Multiple people using the computer at the same time. The free teir of duostream is 720p 30 fps but it doesn’t look too bad. I’m not sure how much it costs to upgrade but if that’s something your interested you could check that out
has it worked with any other devices? I’m trying to figure out if its a problem with the client(moonlight) or a problem with the client not being able to reach the server(sunshine)
Latency over open ports is 150+ for me and I have no idea why. I expected around 50 max on 5g and well under my host upload speed… kind of sad I can’t figure out why… or in my home network just can’t handle it. Cat6 wired directly to host. Only get 25mbs up in my area… but even at 320p only requiring around 2mbs the latency is still 150+. The 5g in my area is better than my home network as well.
I'm having a lot of trouble with steam link app. I can get it to work with a controller.. but I want to keyboard and mouse game on my tablet in a separate room of my house. With the Moonlight and sunshine app ... If I have a Bluetooth keyboard and Bluetooth mouse connected to my tablet will the inputs be interpreted through the Stream..? Put more simply, do the inputs on the tablet translate to the host computer in the basement?
Ive never tried using moonlight on a tablet with bluetooth kb and mouse, but online I’ve seen people say that it works with an ipad. I think you should try it out
What if you have 2 monitors at home? Whatever I would want to play remotely is saved on steam, and just for my program window setup, games are on the primary monitor, and steam and communications apps are on the secondary.
I’m not sure if you can stream multiple monitors at the moment but you can choose what to stream. You could also set up multiple workspaces or virtual desktops and navigate through them with ctrl+win+left/right. That’s a lot more convenient if you only have one screen with you. Do you have two screens with you when you are not home?
When I try to connect through the ip this message shows up "Unable to connect to the indicated computer. Make sure the necessary ports are allowed through the firewall" I dont know what I have to do
Trying to get Sunshine/Moonlight to work remotely but UPnP and port forwarding from my router doesn't seem to work. Any ideas what I should try to resolve the issue?
Well if ur using an isp like xfinity/verizon you have a public ip address just for your home network but other isps could use cgnat and have multiple home networks use one public ip address. If its cgnat you can’t really port forward but you said you had the option to port forward so i don’t think thats the issue. Could you go to some port forward checker like yougetsignal.com/tools/open-ports and see if port 47989 is open? You should already have it as a rule in your port forwarding settings
@@MadhuKrafti dont know if this question is dumb or if i just wasnt listening to the video but, i know you need to keep your pc on but will the monitor be displaying the game while i am playing on my phone? and if so is it possible to make it so that the monitor isnt displaying the game but i can still play and stream it on my phone?
Korzystałem z podobnego rozwiązania opartym na sunshine i moonlight. Miałem do tego openVPN który ułatwial łączenie z dowolnego miejsca, ograniczeniem był jednak router który ciągnął 14Mb/s a fajnie się grało przy 20. Więc czasami robiło się ziarno, ale płynność była spoko. Gdybym tylko ogarnął openVPN z 30Mb byłoby fajnie.
I was looking for a solution to play when I'm really far away from my desktop (like 200Km+).. Can I still achieve a good result with low latency using this methods?
@@MadhuKraft thanks for answering that quickly 🙏🏻 I was thinking about using Tailscale to be able to connect from another internet connection (as I’ll be in a different state from the desktop), instead of port forwarding.. What do you think? I’ve seen people saying it is safer.
@@MadhuKraft Hello there my friend. I need some help over here if you can. On my first time trying to access the desktop from really far away it is not working at all.. As I've said I was using Tailscale as the VPN service and it seems my desktop is being listed offline even that it was seen online till yesterday 23:30.. Any ideas on how to solve this? Or what could be the problems?
if you log into your actual router and you see your host computer listed under the connected devices and if your router supports UPnP, then it should work
This works perfect for the most time, but there's one little thing that i'd like to fix if possible - my mouse seems to lag every now and then for about 4-5 seconds, is this an internet issue? My internet connection seems to be decent so I'm not sure. Also, does moonlight affect the performance of the pc that i stream from? Like, will games work slower while streaming? Thanks for the video btw.
The sunshine server shouldn’t really affect the actual performance of the game, i don’t think it’s that intensive. Can you try from other devices and see if you face the same issue of your mouse lagging? I’ve never really faced that issue
If ur using an nvidia shield you will not be using moonlight right? You will be using the built in nvidia game streaming app. Have you tried moonlight on a computer or any other device?
Exposing this to the public internet seems extremely dangerous. If the bad guys guess your password, they are literally on your desktop right? How do you protect yourself with this setup?
It’s not too dangerous since the person would need access to the computer before trying to connect remotely. Whenever new devices connect you have to enter the pin in the server computer web ui. But I also do not expose it to the internet and I set up a vpn connection which I show how to do in the video linked in the description
Great video, but I would not recommend people NOT use UPNP.. it is a terrible security risk. Stick to the manual port forwarding you showed after, or better yet, reverse tunnel, a proxy, vpn, anything else
Thanks for the information. Is there any particular reason UPNP is unsafe? I thought it would just port forward for you. I agree that using a vpn to access sunshine would be a lot safer that’s what I do
@MadhuKraft so upnp, as you know, allows an application to open ports in your firewall. So if you ever click on the wrong link or download the wrong attachment and some bad code gets on your system it could use UPnP to open up ports so the virus command and control center can have direct inbound access to your network. When this happens there's often no sign of a problem for quite a while. It might just be passive monitoring until the bank information comes out or something. Think about it this way, if I hired you at my company to be the head of security and you were the only person who could open up firewall ports into the network, would you just decide that it would be easier if you allowed allemployees to open up whatever ports they wanted whenever they wanted? Well of course it would be easier but it would be so irresponsible that you would not last long at the company nor would the security of the company. Problem is, when people install games or go online or do things they sometimes get Firewall Alerts saying are you okay allowing this application to do this thing. And people click yes without even reading it. but sometimes viruses can sneak in a second alert so it looks like when you click yes to a trusted program that the click didn't register, so you click again, not realizing you said yes to two different things, the program you trust and then some unknown Shady thing. Alternatively let's say you had an employee at this company that you trusted and you knew had the technical skills and you decided to give them a temporary password that only lasted for an hour and told them open up the port they need because you can't right now and that's it, and then I'm going to take that ability away from you? Well you may find that that is okay. So if you enable UPnP to do what you said in this video, it's not so much like you're risking your entire network at that second, I just wouldn't leave upnp enabled once the port is opened that you needed, turn upnp off. UPnP is close to not being an option in consumer routers. Enterprise firewalls often don't even have the ability to use it because it's so scary
Please help me When I put the IP address into Moonlight, it says (unable to connect to the specified computer) Even when the computer shows up, it tells me the code is wrong in sunshine I just want to play with my friend ;(
So I assume both computers are on the same network cus the computer eventually showed up in moonlight right? In the troubleshooting tab of sunshine, do you see any logs being generated when you try to connect from moonlight?
@@MadhuKraft I've discovered some problems on my end I only have one question The two devices must be on the same network. If the answer is no, how can I add the IP of a device to a different network? Thank you for your response to me❤
@user-vj8tj3ki2q If you dont want the device to be on the same network you will need to search up ur public ip address on the server computer. You will also need to enable UPnP in sunshine settings. I show how to do this in the video as well. Click on the chapters and skip to that part of the video. But to test moonlight for the first time its best to do it on the same network to ensure that it actually works for you
Sorry for the late response, is your mouse not working when you open certain apps or it just doesn’t work at all when connected to the machine? Could you try on your phone or another device? I know some games like valorant do not let you use remote input meaning input that isnt directly connected to the pc
in your windows taskbar, do you see the arrow in the bottom right to reveal the apps running in the background? If you see sunshine there, right click it and open it. But if you dont, run sunshine again
Thank you so much, your video is so easy to understand and i actually made mine to work after watching so many other vids
Thanks, the latency is almost unnoticeable, my main monitor is bleeding everywhere so am using my brothers laptop to game lol
Daaaaamn smooth as hell, it all worked out THANKS MAN
Bro, clearest tutorial on sunshine + moonlight. I was pretty confused initially
Glad to hear that!
What Linux Distro* is your laptop using? It seems pretty nice so i'd like to install it on my client too.
I set up a self-hosted local network using Zero Tier or Tailscale(reccomend) without opening ports, put the server and client devices in it,
and Sunshine and Moonlight worked even on an external network, so I'm writing this just to be sure.
thank you so much!! very helpful and very easy to follow!
Wow! I like the new thumbnail format😮
Thats cool you can access the entire pc, like you dont even need RealVNC, TeamViewer, Anydesk, etc anymore. Is it possible to allow it to stream two games to two people at the same time, like say you build a very powerful pc and keep it in your basement and then your kids each have like a small form factor or micro pc in their rooms, but each could play their own fully rendered 3d game using the CPU and graphics processing of your server in your basement?
That is actually possible with duostream but the quality of the stream isnt as good unless you pay a certain amount but I’m sure its not that expensive. You can still use it for free though. if you need some help please let me know. Thanks for the support!
I love your idea 👌 better then paying for a monthly streaming service 👌
@@MadhuKraftIs (duostream) very good? Or is Aster better?
Port fowarding was the biggest headache ever when i was setting up a gta five m server to let people join hope i can still remember how to do it with my router
Very nice guide, thanks man
so if i have ps plus streaming on my laptop,can I use this method to stream the same on a Tab S10 ultra?
I'm getting "can't reach this page"
"Local host refused to connect"
I had this problem. It's so tough. Try switching browsers, cos I went from Firefox to Chrome temporarily to try make it work. That didn't work either but it did for other people. For me, I uninstalled Sunshine then reinstalled it. For some reason that worked, using Chrome by the way.
I loved your Linux computer looks. What distro flavor and/ or desktop environment are you using? Would love to know and build something that clean!
Thank you! Im using Zorin OS but this is basically just what plain gnome looks like
Hey so I checked the manual and there is no need because the auto version actually updated the manual location for ports. So it should work as I checked and they are all correct.
Its not working saying "unable to connect to specified PC" This is for another network.
Sunshine on the gaming pc and it worked on local network with the client on moolight.
Where to go from here ?
The moonlight isnt recognizing my IP
Have you tested for public on another network because when i got to add the public ip it doesnt work, and do i have to use annother pin connect ?
I saw MelonDS had an update that lets you separate the top and bottom screens into separate windows, can you help me figure out how to stream the bottom to moonlight while having the top screen on my desktop monitor?
i have install a virtual display, and how can i custom the size display on my remote device like ipad?
Is there any way to do this without high jacking the machine. Like create a VM to be the streaming server. That way this machine would never know it is a host unless the resources is being used?
thanks, i got it to work with my laptop and my phone, its magic...
Any specific reason why after setting up the port forwarding "Everything works" when you go to the PUBLICIP:PORT web address the access is denied?
It’s a setting within sunshine, found it a few mins after this post if anyone looks for it, make sure it’s set to anyone can connect, rather then just local host!
Sorry for the late response but im glad you figured it out! its not really recommended to do that since its only password protected but if you’re only using this on your local network then it should be fine
@@MadhuKraft yeah I know, I usually vpn my main pc for remote connections outside of my network.
yeah me too its more secure like that
I'm not being able to connext , I'm using my other mobile as usb tergering as server and my other phone as clien, tried everything not worked for me, please help
Hello, when i start desktop it becomes infinity windows, like vertigo, why does it happening
Hmm is it just a parsec/teamviewer remote control stuff? Or can I play normally on my pc while a family member use moonlight to open another game in a sandbox and use my pc as his running machine without interrupting my own session? will our mouses and keyboards just interfere with each other?
By default it is only for one person to use the computer at a time, but with something like duostream, you can achieve what ur looking for. Multiple people using the computer at the same time. The free teir of duostream is 720p 30 fps but it doesn’t look too bad. I’m not sure how much it costs to upgrade but if that’s something your interested you could check that out
I tried this with android, but appears the error message "Unable to connect to the specified computer..."
has it worked with any other devices? I’m trying to figure out if its a problem with the client(moonlight) or a problem with the client not being able to reach the server(sunshine)
How can I test if it works over internet if I only have one internet connection?
Latency over open ports is 150+ for me and I have no idea why. I expected around 50 max on 5g and well under my host upload speed… kind of sad I can’t figure out why… or in my home network just can’t handle it.
Cat6 wired directly to host. Only get 25mbs up in my area… but even at 320p only requiring around 2mbs the latency is still 150+. The 5g in my area is better than my home network as well.
I'm having a lot of trouble with steam link app. I can get it to work with a controller.. but I want to keyboard and mouse game on my tablet in a separate room of my house.
With the Moonlight and sunshine app ...
If I have a Bluetooth keyboard and Bluetooth mouse connected to my tablet will the inputs be interpreted through the Stream..?
Put more simply, do the inputs on the tablet translate to the host computer in the basement?
Ive never tried using moonlight on a tablet with bluetooth kb and mouse, but online I’ve seen people say that it works with an ipad. I think you should try it out
4:33 I hope no one says "BrO lEaKeD hIs Ip"
What if you have 2 monitors at home? Whatever I would want to play remotely is saved on steam, and just for my program window setup, games are on the primary monitor, and steam and communications apps are on the secondary.
I’m not sure if you can stream multiple monitors at the moment but you can choose what to stream. You could also set up multiple workspaces or virtual desktops and navigate through them with ctrl+win+left/right. That’s a lot more convenient if you only have one screen with you. Do you have two screens with you when you are not home?
the UPnP does not work and my wifi has no options for port forwarding. any ideas please?
Use something like tailscale
Very thorough, thank you
Which OS is this? It looks so nice ( I know its linux but which distro?)
Thanks! It’s zorin os but you could achieve this look on basically any distro thats using gnome
@@MadhuKraft Thank you!!
When I try to connect through the ip this message shows up "Unable to connect to the indicated computer. Make sure the necessary ports are allowed through the firewall" I dont know what I have to do
Maybe turn off firewall
Can I use the pc if it is off and I want to connect?
Trying to get Sunshine/Moonlight to work remotely but UPnP and port forwarding from my router doesn't seem to work. Any ideas what I should try to resolve the issue?
By any chance do you know whether your isp gives you a public ip address? Which address are you using to connect?
@@MadhuKraft I used the public IP address that is displayed on the "what is my ip address" site, is it possible that address is wrong?
Well if ur using an isp like xfinity/verizon you have a public ip address just for your home network but other isps could use cgnat and have multiple home networks use one public ip address. If its cgnat you can’t really port forward but you said you had the option to port forward so i don’t think thats the issue. Could you go to some port forward checker like yougetsignal.com/tools/open-ports and see if port 47989 is open? You should already have it as a rule in your port forwarding settings
@@MadhuKrafti dont know if this question is dumb or if i just wasnt listening to the video but, i know you need to keep your pc on but will the monitor be displaying the game while i am playing on my phone? and if so is it possible to make it so that the monitor isnt displaying the game but i can still play and stream it on my phone?
Korzystałem z podobnego rozwiązania opartym na sunshine i moonlight. Miałem do tego openVPN który ułatwial łączenie z dowolnego miejsca, ograniczeniem był jednak router który ciągnął 14Mb/s a fajnie się grało przy 20. Więc czasami robiło się ziarno, ale płynność była spoko. Gdybym tylko ogarnął openVPN z 30Mb byłoby fajnie.
Is there anyway to also have mic support
I was looking for a solution to play when I'm really far away from my desktop (like 200Km+).. Can I still achieve a good result with low latency using this methods?
it mostly just depends on the speed of the internet for both devices. It could work well
@@MadhuKraft thanks for answering that quickly 🙏🏻
I was thinking about using Tailscale to be able to connect from another internet connection (as I’ll be in a different state from the desktop), instead of port forwarding..
What do you think? I’ve seen people saying it is safer.
Yeah i use wireguard to access my network. That’s a lot safer than exposing the streaming server
@@MadhuKraft is Wireguard better than Tailscale?
I’m gonna search a tutorial for it.. Not sure if Wireguard is as easy to configure as Tailscale.
@@MadhuKraft Hello there my friend. I need some help over here if you can. On my first time trying to access the desktop from really far away it is not working at all.. As I've said I was using Tailscale as the VPN service and it seems my desktop is being listed offline even that it was seen online till yesterday 23:30..
Any ideas on how to solve this? Or what could be the problems?
Can UPnP work if the host computer is on a WiFi extender?
if you log into your actual router and you see your host computer listed under the connected devices and if your router supports UPnP, then it should work
How do I make my laptop screen turn off while using moonlight on my phone? I have it all setup with automation
by using hdmi dummy plug or create a virtual display
This works perfect for the most time, but there's one little thing that i'd like to fix if possible - my mouse seems to lag every now and then for about 4-5 seconds, is this an internet issue? My internet connection seems to be decent so I'm not sure. Also, does moonlight affect the performance of the pc that i stream from? Like, will games work slower while streaming? Thanks for the video btw.
The sunshine server shouldn’t really affect the actual performance of the game, i don’t think it’s that intensive. Can you try from other devices and see if you face the same issue of your mouse lagging? I’ve never really faced that issue
My moonlight latency is happening how to fix the problem when I am playing a game . I stream threw my Nividia shield with moonlight.
If ur using an nvidia shield you will not be using moonlight right? You will be using the built in nvidia game streaming app. Have you tried moonlight on a computer or any other device?
@@MadhuKraft They discontinued the game stream, they still have geforce now but you got to pay for that unless you use a free 1 hour session.
The pin muts be put it only one time? Or everytime that im going to play? Thanks
it’s only one time
Great guide thank you.
Glad it was helpful!
Exposing this to the public internet seems extremely dangerous. If the bad guys guess your password, they are literally on your desktop right?
How do you protect yourself with this setup?
It’s not too dangerous since the person would need access to the computer before trying to connect remotely. Whenever new devices connect you have to enter the pin in the server computer web ui. But I also do not expose it to the internet and I set up a vpn connection which I show how to do in the video linked in the description
Great video, but I would not recommend people NOT use UPNP.. it is a terrible security risk. Stick to the manual port forwarding you showed after, or better yet, reverse tunnel, a proxy, vpn, anything else
Thanks for the information. Is there any particular reason UPNP is unsafe? I thought it would just port forward for you. I agree that using a vpn to access sunshine would be a lot safer that’s what I do
@MadhuKraft so upnp, as you know, allows an application to open ports in your firewall.
So if you ever click on the wrong link or download the wrong attachment and some bad code gets on your system it could use UPnP to open up ports so the virus command and control center can have direct inbound access to your network. When this happens there's often no sign of a problem for quite a while. It might just be passive monitoring until the bank information comes out or something.
Think about it this way, if I hired you at my company to be the head of security and you were the only person who could open up firewall ports into the network, would you just decide that it would be easier if you allowed allemployees to open up whatever ports they wanted whenever they wanted?
Well of course it would be easier but it would be so irresponsible that you would not last long at the company nor would the security of the company.
Problem is, when people install games or go online or do things they sometimes get Firewall Alerts saying are you okay allowing this application to do this thing. And people click yes without even reading it. but sometimes viruses can sneak in a second alert so it looks like when you click yes to a trusted program that the click didn't register, so you click again, not realizing you said yes to two different things, the program you trust and then some unknown Shady thing.
Alternatively let's say you had an employee at this company that you trusted and you knew had the technical skills and you decided to give them a temporary password that only lasted for an hour and told them open up the port they need because you can't right now and that's it, and then I'm going to take that ability away from you?
Well you may find that that is okay. So if you enable UPnP to do what you said in this video, it's not so much like you're risking your entire network at that second, I just wouldn't leave upnp enabled once the port is opened that you needed, turn upnp off.
UPnP is close to not being an option in consumer routers. Enterprise firewalls often don't even have the ability to use it because it's so scary
Can i play with my phlne or tablet when i was at work ?
yeah you should be able to with a stable internet connection
super helpful thanks!!
So if i don't own a gaming pc i can't play right? This is not a free VM? Like geforce now but free?
Yeah this is for people that have a gaming pc and want to be able to play it anywhere like geforce now
@@MadhuKraft thx
Please help me
When I put the IP address into Moonlight, it says (unable to connect to the specified computer)
Even when the computer shows up, it tells me the code is wrong in sunshine
I just want to play with my friend ;(
So I assume both computers are on the same network cus the computer eventually showed up in moonlight right? In the troubleshooting tab of sunshine, do you see any logs being generated when you try to connect from moonlight?
@@MadhuKraft
I've discovered some problems on my end
I only have one question
The two devices must be on the same network. If the answer is no, how can I add the IP of a device to a different network?
Thank you for your response to me❤
@user-vj8tj3ki2q If you dont want the device to be on the same network you will need to search up ur public ip address on the server computer. You will also need to enable UPnP in sunshine settings. I show how to do this in the video as well. Click on the chapters and skip to that part of the video. But to test moonlight for the first time its best to do it on the same network to ensure that it actually works for you
@@MadhuKraft Thank you
I will try this today i was using remote play whatever but the steam update broke it
perfect! thanks
my mouse doesnt work what do i do?
Sorry for the late response, is your mouse not working when you open certain apps or it just doesn’t work at all when connected to the machine? Could you try on your phone or another device? I know some games like valorant do not let you use remote input meaning input that isnt directly connected to the pc
:[ i cant use on my mac because i have macOS Catalina 10.15.7 but i can use my iphone and good tutorial Madhu
Use opencore legacy patcher
@@duplicake4054 THANKS
best explain .full thanks
Or simply use tail scale
very nice video!
"Activate Windows"
thank
😂
I need some help, I try in all browsers, and don't work, ever said me that the conection with localhost fail
in your windows taskbar, do you see the arrow in the bottom right to reveal the apps running in the background? If you see sunshine there, right click it and open it. But if you dont, run sunshine again