Something that has been very useful to me is waking up my download server whilst at work via the Internet. I won’t go into detail about how Wake-on-LAN (WoL) works, but it’s basically a packet that can ‘wake’ a PC out of standby mode. There are many reasons why you might want to do this such as avoiding having a server running 24/7, or maybe to start downloading at specific times to avoid ISP caps etc. This is a quick tutorial of how to configure your Cisco Router to allow WoL packets through the router and propagate on the inside network as a broadcast to make them effective.

At this point, I will assume you have set up and tested WoL on your PC at your local network. There are plenty of free tools to do this (see the links below).

1. You will need to allow IP directed broadcasts on the interface facing the PC you intend to wake. By default, this is disabled on Cisco routers to prevent Denial of Service attacks (e.g. the Smurf attack).

Router>enable
Router#configure terminal
Router(config)#interface vlan 1
Router(config-if)#ip directed-broadcast

2. Because the WoL packet needs to be a broadcast, you will need to create a NAT rule that will forward the packet to the broadcast address of your inside network. For example, if your PC is on the 192.168.1.0/24 network, the NAT rule will need to forward the packet to 192.168.1.255. The protocol is UDP and the port can be any of your choosing.

Router(config)#ip nat inside source static udp 192.168.1.255 55555 interface Dialer0 55555

3. The final change is to allow the access through the IOS Firewall. The port will depend on the one you chose in step 2. You can also restrict the source if you wish, depending on which method you chose to send the packet.

Router(config)#ip access-list extended outside_access_in
Router(config-ext-nacl)#10 permit udp any any eq 55555 log
Router(config-ext-nacl)#90 deny ip any any log
Router(config-ext-nacl)#interface Dialer0
Router(config-if)#ip access-group outside_access_in in

4. All done! You can test it works using a tool capable of sending WoL packets over the Internet. You can even use one of the online tools which can send the packets from a web page.

3 Responses to “Wake-on-LAN Through a Cisco Router”

  1. Rich says:

    I use this too, very useful for avoiding the wrath of Virgin Media and their 4-12 capping.
    I usually use this in combination with the Cisco VPN Client so that I can RDP onto my box securely.

  2. Jonathan says:

    Hi ,does this also work when my Internet connection (cablemodem) is connected to a fastethernet port since you’re using a dialer interface in the example.

  3. Rich says:

    hi,

    Yes it will but you will have to customize it for your interfaces.

Leave a Reply

Add to Technorati Favorites Add to Google
  • Buy Cheap buy lasix Now Low Prices. Drug Store Without A Prescription.
  • Buy Cheapest information online pharmacy valium Online Top Online Pharmacy. Best Drugstore.
  • Buy Cheap viagra orgasm Now FDA Approved Rx: Online Pharmacy. Low Prices.
  • Buy Cheap mexican pharmacy online purchase Now Best Internet. Internet Prices For mexican pharmacy online purchase!
  • Buy Cheapest viagra pill Now WorldWide Shipping. Cheap Online Pharmacy.
  • Buy Cheapest usa online pharmacy Online Best Internet. Free Viagra Pills!
  • Buy Cheapest low price cialis Online Best Prices. Pharmacy At The Best Price!
  • Buy Cheapest cheap online ultram Now Special Prices For cheap online ultram! Low Prices.
  • Buy Cheapest cheap atenolol Online Guaranteed Shipping. Pharmacy Store.
  • Buy Cheapest trazodone hydrochloride Now Guaranteed Shipping. Cheap Online Pharmacy.
  • Buy Cheapest strongest appetite surpressant Now Best Drugstore. 24/Online Pharmacy.
  • Buy Cheap cheap cialis find Now The Largest Internet Pharmacy. Best Drugstore.
  • Buy Cheap vitamins supplements Now Online Prices For vitamins supplements! Pharmacy Store.
  • Buy Cheapest phentermine prescription Now 24/Online Pharmacy. Best Internet.
  • Buy Cheapest tramadol fast Now Cheap Pharmacy Online. Online Medical Shop.
  • Buy Cheapest treatment for menstrual cramps Online Best Prices. Pharmacy At The Best Price!
  • Buy Cheapest sildenafil citrate online Online Special Prices For sildenafil citrate online! Best Prices.
  • Buy Cheap levitra generic vardenafil Online Discount Pharmacy Online. Best Drugstore.
  • Buy Cheap cialis doses Online Best Internet. No Prescription Needed.
  • Buy Cheap cialis fast shipping Now Cheap Prescription Drugs. Best Drugstore.
  • Buy Cheap trazodone medicine Online Best Prices. Discount Online Pharmacy.
  • Buy Cheapest diflucan pharmacy Now Guaranteed Shipping. Best Drugstore.
  • Buy Cheap pain medicine without prescription Online Free Viagra Pills! 24/Online Pharmacy.
  • accutane online prescription Online Without Prescription Best Prices. Best Online.
  • Buy Cheap cialis overnight shipping usa pharmacy Online Top Online Pharmacy. Guaranteed Shipping.
  • Buy Cheap buy viagra soft online Online WorldWide Shipping. Top Online Pharmacy.
  • Buy Cheap lorazepam withdrawal Online Best Online. Order Cheap Meds Without Rx.
  • Buy Cheapest ambien canada Now Cheap Online Pharmacy. Top Online Pharmacy.
  • Buy Cheap prescription diet med Online Free Viagra Pills! WorldWide Shipping.
  • Buy Cheap buy pain pills online Online Best Prices. 24/Internet)(safe Pharmacy.
  • Buy Cheap viagra side affects Now Free Viagra Pills! 24/Online Pharmacy.
  • Buy Cheap no prescription propecia Now Top Online Pharmacy Supplier. Low Prices.
  • Buy Cheapest online shopping coupons for vitamin shoppe Now Cheap Pharmacy Online. Guaranteed Shipping.
  • Buy Cheapest viagra purchase Now No Prescription Needed. Free Viagra Pills!
  • Buy Cheap klonopin side effects Online Discount Online Pharmacy. Best Drugstore.
  • Buy Cheap order cialis without prescription Online Pharmacy Store. Top Online Pharmacy.
  • Buy Cheap ativan suppliers uk Now Cheap Online Pharmacy. Cheap Pharmacy Online.
  • Buy Cheap buy online diuretic no prescription Online Online Prices For buy online diuretic no prescription! Best Prices.
  • Buy Cheap no prescription cheap viagra Now Best Internet. Drugs, Health And Beauty.
  • Buy Cheap zolpidem 10 Now Best Internet. Discount Pharmacy Online.
  • Buy Cheap online pharmacy australia Now Best Internet. 24/Internet)(safe Pharmacy.
  • Buy Cheap ambien buy Online Pharmacy Store. No Prescription Needed.
  • Buy Cheapest levitra without prescriptions Now 24/Internet)(safe Pharmacy. Best Prices.
  • Buy Cheapest pain remedy Now Special Prices For pain remedy! Pharmacy Store.
  • Buy Cheap viagra without perscription Now Free Viagra Pills! Internet Prices For viagra without perscription!
  • Buy Cheap the vitamin store Online Internet Prices For the vitamin store! Low Prices.
  • Buy Cheap codeine without a prescription Now Cheap Online Pharmacy. Guaranteed Shipping.
  • Buy Cheapest buy pain pills Online Cheap Pharmacy Online. Pharmacy Store.
  • Buy Cheapest zyban quit Now Buy Medications Online. Best Online.
  • Buy Cheap diet pills that are fda approved Online Cheap Pharmacy Online. Online Medical Shop.
  • Buy how does viagra work? Online Without Prescription. Best Online. Low Prices.
  • Buy Cheap get phentermine Now 100% Satisfaction Guaranteed. Best Online.
  • Buy Cheapest levitra canada Online Best Prices. Buy Medications Online.
  • Buy Cheapest viagra 100 mg Online Guaranteed Shipping. Best Prices.
  • Buy Cheap buy online viagra phentermine xanax Now Online Medical Shop. 24/Online Pharmacy.
  • Buy Cheapest pet health pharmacy Now Cheap Prescription Drugs. Best Internet.
  • Buy Cheap headache medications Online Pharmacy Store. Drugs, Health And Beauty.
  • Buy Cheap viagra experiences Now Free Viagra Pills! Cheap Prescription Drugs.
  • Buy Cheap canada drug pharmacy Now Online Medical Shop. Online Prices For canada drug pharmacy!
  • Buy Cheapest impotence drugs Online Low Prices. Cheap Pharmacy Online.
  • Buy Cheapest how to get viagra Now Best Prices. Buy Medications Online.
  • Buy Cheap diet pill information Now Low Prices. Top Online Pharmacy Supplier.
  • Buy Cheapest wholesale vitamin Online Best Online. Discount Pharmacy Online.
  • Buy Cheapest cheap tramadol fedex overnight Online Pharmacy Store. WorldWide Shipping.
  • Buy Cheapest buy diazepam cheap Online Best Drugstore. Cheap Pharmacy Online.
  • Buy Cheap buy levitra online Now Best Internet. Cheap Prescription Drugs.
  • Buy Cheap vpxl herbal Online Best Prices. No Prescription Needed.
  • Buy Cheapest bayer levitra Now Cheap Prescription Drugs. Low Prices.
  • Buy Cheap levitra coupon Now Low Prices. Internet Prices For levitra coupon!
  • Buy Cheap cialis cheap overseas Now 24/Online Pharmacy. No Prescription Needed.
  • Buy Cheapest new antidepressant medications Now Online Medical Shop. Top Online Pharmacy.
  • Buy Cheap how fast does valium work Now Online Prices For how fast does valium work! Top Online Pharmacy.
  • Buy Cheap viagra best buy Now 100% Satisfaction Guaranteed. Best Prices.
  • Buy Cheapest phentermine hydrochloride Online Best Prices. 24/Online Pharmacy.
  • Buy Cheapest viagra and high blood pressure Now Best Internet. Pharmacy At The Best Price!
  • Buy Cheapest nexium take Online Best Drugstore. 24/Online Pharmacy.
  • Buy Cheap buy phentermine without a prescription Online Best Internet. Pharmacy At The Best Price!
  • Buy Cheap legal codeine Now Online Prices For legal codeine! WorldWide Shipping.
  • Buy Cheapest online meds Online Internet Prices For online meds! Low Prices.
  • Buy Cheap arthritis buy medication Now Pharmacy Store. Special Prices For arthritis buy medication!
  • Buy Cheapest lexapro drug Online Buy %items% Online Without Prescription.
  • Buy Cheapest viagra side effects Online Cheap Prescription Drugs. Best Internet.
  • Buy Cheapest drug treatment guidelines depression Now Guaranteed Shipping. Cheap Pharmacy Online.
  • Buy Cheapest pain medicine without prescription Now 24/Online Pharmacy. Best Drugstore.
  • Buy Cheap cheap cialis generic Now Drugs, Health And Beauty. Free Viagra Pills!
  • Buy Cheapest zolpidem side affects Now Pharmacy Store. Guaranteed Shipping.
  • Buy Cheapest generic cialis price Now Best Online. Buy Medications Online.
  • pain medications without a prescription Online Without Prescription Best Prices. Best Internet.
  • alprazolam online pharmacy Online Without Prescription Best Online. WorldWide Shipping.
  • Buy Cheapest levitra vardenafil hcl Now 24/Internet)(safe Pharmacy. Low Prices.
  • Buy Cheap generic viagra india Now Pharmacy Store. 24/Internet)(safe Pharmacy.
  • Buy Cheapest generic cialis cheapest lowest price Now Best Drugstore. Special Prices For generic cialis cheapest lowest price!
  • Buy Cheap non prescription drugs against depression Online 24/Online Pharmacy. Guaranteed Shipping.
  • Buy Cheapest viagra for sex Now Buy Medications Online. WorldWide Shipping.
  • Buy Cheap order ambien online Now Top Online Pharmacy Supplier. Best Online.
  • Buy Cheap ultram generic Online WorldWide Shipping. Free Viagra Pills!
  • Buy Cheapest viagra professional canada Now Internet Prices For viagra professional canada! Best Internet.
  • Buy Cheap antidepression drug Now Cheap Prescription Drugs. Best Drugstore.
  • Buy Cheap chlamydia drugs Now All Medications Are Certificated! Best Prices.
  • Buy Cheap cost of levitra Now Guaranteed Shipping. Drugs, Health And Beauty.