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

Pregant spouse slipped abortion pills unknowingly. What would the legal ramifications be?

Kids traveling with a different passport in theirs parents' country without being previously registered in a consulate

Why are all these full-fledged workstations running massive OSes with massive software required all over the world?

Why aren't we seeing carbon taxes in practice?

How to optimise the use of 10 nuclear fuel pellets in medieval period?

Do the Jovians in "Victory Unintentional" exist in Isaac Asimov's Foundation series?

Putting creatures into play in alternative ways to summoning them

Could the barycenter orbit of our sun be greatly underestimated?

Pass on your radiation

How to pair a xrightarrow with text on the top) to a sort of xleftarrow (with text on the bottom)?

I've never seen this before. Is this primarily a "rote computational trick" for multiplication by 9 ...?

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

Why is wired Ethernet losing its speed advantage over wireless?

How does a religion based around destroying the world attract followers

Have spacecraft photographed each other beyond Earth orbit?

Short story: Man gains X-ray vision, cheats at cards, sees a clot in his blood

No transit zone at Linate airport. Couldn't get on connecting flight. Whose responsibility is it?

Which seat 'predicts' the outcomes of UK General Elections the best?

Is a datagram from an upper network layer converted 1:1 to one of the lower layer?

Are there any spell casters that can cast life giving spells without 'expensive' components?

Is the weight of the aircraft flying in the sky transferred to the ground?

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

Does the geothermal activity influence the climate in Iceland?

Who started calling the matrix multiplication "multiplication"?



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”?