Solved

WOL packet over VPN

Posted on 2014-01-02
5
715 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
  • 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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

As dyndns has reduced the capabilities of the free service, I looked around for other free providers of Dynamic DNS service. After testing several I decided to move my DNS hosting to Hurricane Electric as then domains that require dynamic hostnam…
The use of stolen credentials is a hot commodity this year allowing threat actors to move laterally within the network in order to avoid breach detection.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
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…

770 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