Solved

WOL packet over VPN

Posted on 2014-01-02
5
738 Views
Last Modified: 2014-01-18
Hello, I have a VPN connecting my home network to a remote domain I'm admin of.

So, my home network has a 192.168.2.xxx structure, the remote domain 192.168.1.xxx.

Windows Server SBS 2011 is installed on the main remote server, W7 Ultimate on my work pc.

I have been trying to use WOL directly from my work pc, but it doesn't work. It only works if I enter the remote server with RDP (or Teamviewer or VNC...) and execute the command from there.

I am using a free command-line utility called wolcmd, here's an example of a command which works locally but not remotely:

WolCmd D0-17-38-2F-AF-E1 192.168.1.34 255.255.255.0 21234

So I was wondering, is there a way to make this work via VPN or should I just let it go?

Thanks in advance guys.
0
Comment
Question by:Daniele Brunengo
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
5 Comments
 
LVL 12

Expert Comment

by:Seaton007
ID: 39751596
The utility you are using is probably being blocked by a firewall.
0
 

Author Comment

by:Daniele Brunengo
ID: 39751790
There's a hardware firewall, the one managing the VPN. I have to check its rules, I was expecting it to treat the VPN as it treats its local network but I guess that's not the case.
0
 

Author Comment

by:Daniele Brunengo
ID: 39765702
Actually I looked around and it looks like this can't be done if the packet is sent from your local pc to the remote server. An SSH script maybe could work? Or anything allowing me to run a command from my local machine and which executes something (the wol batch) on the remote machine.
0
 

Accepted Solution

by:
Daniele Brunengo earned 0 total points
ID: 39776707
I did it using PSTools from Sysinternals.

A command line like this one solved the problem:

PsExec.exe \\TheServer C:\Users\Whatchamacallit\Thingamajig\BatchFile.bat
0
 

Author Closing Comment

by:Daniele Brunengo
ID: 39790454
Simple enough reason: I solved it.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Network ports are the threads that hold network communication together. They are an essential part of networking that can be easily ignore or misunderstood, my goals is to show those who don't have a strong network foundation how network ports opera…
David Varnum recently wrote up his impressions of PRTG, based on a presentation by my colleague Christian at Tech Field Day at VMworld in Barcelona. Thanks David, for your detailed and honest evaluation!
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

724 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question