Solved

WOL packet over VPN

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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Some time ago I faced the need to use a uniform folder structure that spanned across numerous sites of an enterprise to be used as a common repository for the Software packages of the Configuration Manager 2007 infrastructure. Because the procedu…
So, you're experiencing issues on your network and you've decided that you need to perform some tests to determine whether your cabling is good.  You're likely thinking that you may need to spend money which you probably don't have on hiring/purchas…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
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…

760 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now