How can I use Wake-On-Lan on a server in a home network from anywhere on the Internet?Remotely turning on computer?wakeonlan from remote hostWhich LAN card / module combinations proven to work with Wake on LANWake on demand (WOD, WOL)My website is accessible on my home network but nobody else can access it on the internetHow access openssh-server with external IP address from outside the Local Area Networkssh server unaccessible

Will the same JavaScript fetched by HTTP and HTTPS be cached separately by the browser?

My boss asked what number would keep me happy?

What to do with excess co-ax cable

Why are the Democrats & Republicans so homogeneous in their opinions of impeaching Trump?

Is it appropriate to ask for the text of a eulogy?

What was the first "Opening Repertoire" book?

Did a man complain that his Pontiac wouldn't start whenever the ice cream he picked up was vanilla?

What Lego set has the biggest box?

"Sack" data structure in C#

How to join many tables side by side?

make invisible depending on point of view

Is it appropriate to rewrite and republish another author's useful but very badly written paper?

Is it possible to kill parasitic worms by intoxicating oneself?

Why don't the absolute value functions in C accept const inputs?

If a problem is in P solved via dynamic programming, is it also in NP?

Can I decide to use the human trait variant before or after rolling stats?

Moon's unusual gravity

Hans Berliner and computers. Did he win the world ICCF championship using computer help?

How do I force `sudo` to ask for a password each time when a specific command is used?

What is the narrative difference between a Charisma and Wisdom saving throw?

Open a Folder in the File Manager by a Python Script

Is a board required by Scrum?

Could the barycenter orbit of our sun be greatly underestimated?

Is paying for portrait photos good for the people in the community you're photographing?



How can I use Wake-On-Lan on a server in a home network from anywhere on the Internet?


Remotely turning on computer?wakeonlan from remote hostWhich LAN card / module combinations proven to work with Wake on LANWake on demand (WOD, WOL)My website is accessible on my home network but nobody else can access it on the internetHow access openssh-server with external IP address from outside the Local Area Networkssh server unaccessible






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;









1


















I have a PC running Ubuntu Server 18.04.3 LTS and a laptop running Ubuntu Desktop 18.04.3 LTS.



Both are correctly configured to allow the client (laptop) to connect to the server (PC) via SSH on LAN/WLan and I've tested and used this many times before. I've also port forwarded with my home router (BTHomeHub6) to allow SSH via the server's ethernet port using it's public IP. Lastly, the server is configured to accept WOL magic packets (+port forwarding) so I can start it up from anywhere with an internet connection.



However, the issue is that when I'm not in range of my home network i.e at university and on mobile data/their network, sending magic packets doesn't appear to wake up the server and hence the following error is given when I try to SSH in.




ssh: connect to host [public ip of server] port 22: No route to host




Basically, nothing works as it does at home/in the vicinity of my home network (even if I'm on mobile data and using the public IP of the server instead of it's LAN IP it can still send the packets and initiate an SSH session) and I would really appreciate any help in fixing this.



Thanks, I hope I've explained it well enough




EDIT :



I'm using this command to send the magic packets (with the terminal package of wakeonlan):



wakeonlan -i [Public IP] -p [10009] [MAC ADDR]


I have two TCP/UDP port forward rules on my home router:



  1. INTERNAL (Start/End = 22/22) to EXTERNAL (Start/End = 22/22). For SSH

  2. INTERNAL (Start/End = 10009/10009) to EXTERNAL (Start/End = 10009/10009). For WOL


EDIT 2:



Having asked the same question on Reddit, I believe I have the solution now and will surely mark as solved if it works. Here is the link if anyone is interested / wants to know how it was fixed:



https://www.reddit.com/r/Ubuntu/comments/dbqitq/xpost_can_ssh_work_over_a_long_distance_providing/



Thanks for the help everyone!










share|improve this question



























  • The title is misleading, the problem is not SSH but WOL. You should describe more in detail how the WOL packet are sent, and what you did to make sure that the magic packets are forwarded by your home router.

    – xenoid
    Oct 1 at 8:59











  • Apologies, I've made the necessary edits now. Thanks

    – ewebuntu
    Oct 1 at 9:12











  • Possible duplicate of Remotely turning on computer?

    – Melebius
    Oct 1 at 12:03

















1


















I have a PC running Ubuntu Server 18.04.3 LTS and a laptop running Ubuntu Desktop 18.04.3 LTS.



Both are correctly configured to allow the client (laptop) to connect to the server (PC) via SSH on LAN/WLan and I've tested and used this many times before. I've also port forwarded with my home router (BTHomeHub6) to allow SSH via the server's ethernet port using it's public IP. Lastly, the server is configured to accept WOL magic packets (+port forwarding) so I can start it up from anywhere with an internet connection.



However, the issue is that when I'm not in range of my home network i.e at university and on mobile data/their network, sending magic packets doesn't appear to wake up the server and hence the following error is given when I try to SSH in.




ssh: connect to host [public ip of server] port 22: No route to host




Basically, nothing works as it does at home/in the vicinity of my home network (even if I'm on mobile data and using the public IP of the server instead of it's LAN IP it can still send the packets and initiate an SSH session) and I would really appreciate any help in fixing this.



Thanks, I hope I've explained it well enough




EDIT :



I'm using this command to send the magic packets (with the terminal package of wakeonlan):



wakeonlan -i [Public IP] -p [10009] [MAC ADDR]


I have two TCP/UDP port forward rules on my home router:



  1. INTERNAL (Start/End = 22/22) to EXTERNAL (Start/End = 22/22). For SSH

  2. INTERNAL (Start/End = 10009/10009) to EXTERNAL (Start/End = 10009/10009). For WOL


EDIT 2:



Having asked the same question on Reddit, I believe I have the solution now and will surely mark as solved if it works. Here is the link if anyone is interested / wants to know how it was fixed:



https://www.reddit.com/r/Ubuntu/comments/dbqitq/xpost_can_ssh_work_over_a_long_distance_providing/



Thanks for the help everyone!










share|improve this question



























  • The title is misleading, the problem is not SSH but WOL. You should describe more in detail how the WOL packet are sent, and what you did to make sure that the magic packets are forwarded by your home router.

    – xenoid
    Oct 1 at 8:59











  • Apologies, I've made the necessary edits now. Thanks

    – ewebuntu
    Oct 1 at 9:12











  • Possible duplicate of Remotely turning on computer?

    – Melebius
    Oct 1 at 12:03













1













1









1


2






I have a PC running Ubuntu Server 18.04.3 LTS and a laptop running Ubuntu Desktop 18.04.3 LTS.



Both are correctly configured to allow the client (laptop) to connect to the server (PC) via SSH on LAN/WLan and I've tested and used this many times before. I've also port forwarded with my home router (BTHomeHub6) to allow SSH via the server's ethernet port using it's public IP. Lastly, the server is configured to accept WOL magic packets (+port forwarding) so I can start it up from anywhere with an internet connection.



However, the issue is that when I'm not in range of my home network i.e at university and on mobile data/their network, sending magic packets doesn't appear to wake up the server and hence the following error is given when I try to SSH in.




ssh: connect to host [public ip of server] port 22: No route to host




Basically, nothing works as it does at home/in the vicinity of my home network (even if I'm on mobile data and using the public IP of the server instead of it's LAN IP it can still send the packets and initiate an SSH session) and I would really appreciate any help in fixing this.



Thanks, I hope I've explained it well enough




EDIT :



I'm using this command to send the magic packets (with the terminal package of wakeonlan):



wakeonlan -i [Public IP] -p [10009] [MAC ADDR]


I have two TCP/UDP port forward rules on my home router:



  1. INTERNAL (Start/End = 22/22) to EXTERNAL (Start/End = 22/22). For SSH

  2. INTERNAL (Start/End = 10009/10009) to EXTERNAL (Start/End = 10009/10009). For WOL


EDIT 2:



Having asked the same question on Reddit, I believe I have the solution now and will surely mark as solved if it works. Here is the link if anyone is interested / wants to know how it was fixed:



https://www.reddit.com/r/Ubuntu/comments/dbqitq/xpost_can_ssh_work_over_a_long_distance_providing/



Thanks for the help everyone!










share|improve this question
















I have a PC running Ubuntu Server 18.04.3 LTS and a laptop running Ubuntu Desktop 18.04.3 LTS.



Both are correctly configured to allow the client (laptop) to connect to the server (PC) via SSH on LAN/WLan and I've tested and used this many times before. I've also port forwarded with my home router (BTHomeHub6) to allow SSH via the server's ethernet port using it's public IP. Lastly, the server is configured to accept WOL magic packets (+port forwarding) so I can start it up from anywhere with an internet connection.



However, the issue is that when I'm not in range of my home network i.e at university and on mobile data/their network, sending magic packets doesn't appear to wake up the server and hence the following error is given when I try to SSH in.




ssh: connect to host [public ip of server] port 22: No route to host




Basically, nothing works as it does at home/in the vicinity of my home network (even if I'm on mobile data and using the public IP of the server instead of it's LAN IP it can still send the packets and initiate an SSH session) and I would really appreciate any help in fixing this.



Thanks, I hope I've explained it well enough




EDIT :



I'm using this command to send the magic packets (with the terminal package of wakeonlan):



wakeonlan -i [Public IP] -p [10009] [MAC ADDR]


I have two TCP/UDP port forward rules on my home router:



  1. INTERNAL (Start/End = 22/22) to EXTERNAL (Start/End = 22/22). For SSH

  2. INTERNAL (Start/End = 10009/10009) to EXTERNAL (Start/End = 10009/10009). For WOL


EDIT 2:



Having asked the same question on Reddit, I believe I have the solution now and will surely mark as solved if it works. Here is the link if anyone is interested / wants to know how it was fixed:



https://www.reddit.com/r/Ubuntu/comments/dbqitq/xpost_can_ssh_work_over_a_long_distance_providing/



Thanks for the help everyone!







networking server internet router wakeonlan






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Oct 1 at 22:48







ewebuntu

















asked Oct 1 at 8:43









ewebuntuewebuntu

114 bronze badges




114 bronze badges















  • The title is misleading, the problem is not SSH but WOL. You should describe more in detail how the WOL packet are sent, and what you did to make sure that the magic packets are forwarded by your home router.

    – xenoid
    Oct 1 at 8:59











  • Apologies, I've made the necessary edits now. Thanks

    – ewebuntu
    Oct 1 at 9:12











  • Possible duplicate of Remotely turning on computer?

    – Melebius
    Oct 1 at 12:03

















  • The title is misleading, the problem is not SSH but WOL. You should describe more in detail how the WOL packet are sent, and what you did to make sure that the magic packets are forwarded by your home router.

    – xenoid
    Oct 1 at 8:59











  • Apologies, I've made the necessary edits now. Thanks

    – ewebuntu
    Oct 1 at 9:12











  • Possible duplicate of Remotely turning on computer?

    – Melebius
    Oct 1 at 12:03
















The title is misleading, the problem is not SSH but WOL. You should describe more in detail how the WOL packet are sent, and what you did to make sure that the magic packets are forwarded by your home router.

– xenoid
Oct 1 at 8:59





The title is misleading, the problem is not SSH but WOL. You should describe more in detail how the WOL packet are sent, and what you did to make sure that the magic packets are forwarded by your home router.

– xenoid
Oct 1 at 8:59













Apologies, I've made the necessary edits now. Thanks

– ewebuntu
Oct 1 at 9:12





Apologies, I've made the necessary edits now. Thanks

– ewebuntu
Oct 1 at 9:12













Possible duplicate of Remotely turning on computer?

– Melebius
Oct 1 at 12:03





Possible duplicate of Remotely turning on computer?

– Melebius
Oct 1 at 12:03










0






active

oldest

votes













Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);














draft saved

draft discarded
















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1177851%2fhow-can-i-use-wake-on-lan-on-a-server-in-a-home-network-from-anywhere-on-the-int%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown


























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1177851%2fhow-can-i-use-wake-on-lan-on-a-server-in-a-home-network-from-anywhere-on-the-int%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown









Popular posts from this blog

Tamil (spriik) Luke uk diar | Nawigatjuun

Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

Training a classifier when some of the features are unknownWhy does Gradient Boosting regression predict negative values when there are no negative y-values in my training set?How to improve an existing (trained) classifier?What is effect when I set up some self defined predisctor variables?Why Matlab neural network classification returns decimal values on prediction dataset?Fitting and transforming text data in training, testing, and validation setsHow to quantify the performance of the classifier (multi-class SVM) using the test data?How do I control for some patients providing multiple samples in my training data?Training and Test setTraining a convolutional neural network for image denoising in MatlabShouldn't an autoencoder with #(neurons in hidden layer) = #(neurons in input layer) be “perfect”?