[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

WOL packet over VPN

Posted on 2014-01-02
5
Medium Priority
?
749 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

Cyber Threats to Small Businesses (Part 2)

The evolving cybersecurity landscape presents SMBs with a host of new threats to their clients, their data, and their bottom line. In part 2 of this blog series, learn three quick processes Webroot’s CISO, Gary Hayslip, recommends to help small businesses beat modern threats.

Question has a verified solution.

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

Use of TCL script on Cisco devices:  - create file and merge it with running configuration to apply configuration changes
In this article I will be showing you how to subnet the easiest way possible for IPv4 (Internet Protocol version 4). This article does not cover IPv6. Keep in mind that subnetting requires lots of practice and time.
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Suggested Courses

873 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