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
  • info viagra
  • cheap diabetes supply
  • new obesity drug
  • what is cymbalta
  • diet drugs online
  • norvasc effects
  • viagra buying online
  • burn fat
  • ativan canada
  • citalopram tablets
  • medication for irritable bowel syndrome
  • treating high blood pressure
  • order zaditor
  • does alli work
  • hard stool constipation treatment
  • medrol dose
  • muscles human body
  • over-the-counter diuretics
  • order saw palmetto
  • cure treat itch itching
  • antibiotic chlamydia
  • generic drugs
  • blood pressure lower
  • anti-biotic
  • buy online paxil
  • aldactone medication
  • drugs valium
  • prescription medication online consultation
  • scabies cure
  • high heart rate medication
  • hypertension medications pharmacy
  • dog skin remedies
  • high cholesterol blood pressure drug
  • online carisoprodol
  • cheapest generic levitra
  • effects of prilosec
  • knee arthritis pain
  • weight loss ideas
  • buy effexor online
  • uses of antibiotics
  • how to make penis longer
  • fast muscle mass
  • clomid 100 mg
  • reduce swelling methods
  • cheap generic medication wal-mart
  • levitra sample
  • dosage nexium
  • hair loss cures
  • buy 10 mg cialis
  • medication for acne
  • viagra buying online
  • migraine solution
  • effects of ultram
  • tooth whitening tooth
  • body fat lose
  • asthma children
  • list a antibiotics
  • canadian lipitor
  • pharmacy allegra
  • bad body odor
  • irritable bowel syndrome
  • medication claritin
  • burn the fat
  • cheap flea medicine for cats
  • buy cialis line
  • white spots on face
  • erythromycin penicillin
  • mail order pain medications
  • muscle growth products
  • what is a natural antibiotic
  • buy cheap teeth whitening
  • prednisone buy
  • stomach pains
  • acai berry pills
  • viagra on line
  • high heart rate medication
  • cholesterol medicine side effects
  • online pharmacy carisoprodol
  • new high blood pressure medic
  • retin a cheap
  • prozac depression
  • osteoarthritis knee
  • pet products
  • women's health products
  • online stop smoking support
  • hair loss remedy
  • side effects of osteoporosis medication
  • generic carafate
  • cheap generic drugs
  • seroquel medication
  • depression symptoms treatment
  • verapamil
  • dog antibiotics
  • dose diflucan
  • increase woman libido
  • medication lipitor
  • neurontin medication
  • bipolar disorder meds
  • buy cialis online without prescription
  • cats health
  • treatment for chlamydia
  • best long term pain relief
  • cramps remedies menstrual
  • body building
  • lipitor use
  • mail order pain medications
  • dog care products
  • prednisone 10 mg
  • cialis alternative
  • increase bus
  • bone and joint health
  • how to prevent pregnancy
  • ordering diet medications
  • stomach cancer treatment
  • treatment for chest pain
  • buy generic cialis
  • generic cheap viagra
  • lower back pain
  • msm information
  • phentermine with no prescription
  • natural pain reliever
  • bone mass loss causes
  • order levitra cheap price
  • cheap dotted condoms
  • prescription weight loss drugs
  • relief for tooth pain
  • diet and weight loss product
  • natural weight loss supplement
  • hair loss pharmacy
  • european viagra
  • free viagra samples before buying
  • ear infection medicine
  • excess uric acid
  • treatment for prostate cancer
  • buy soma with online prescription
  • how to controling the appetite
  • adult diabetes
  • allegra drug
  • treatment of cancer
  • prescription for severe stomach pain
  • healthy dog treats
  • prednisone alternative
  • withdrawal from valium
  • cures for lowering cholesterol
  • no prescription medication
  • no prescription medicine
  • dog skin disorder
  • cancer treatments
  • levitra cheapest
  • stop smoking support group
  • pain remedies
  • viagra from canada
  • cheap online cialis
  • cheap alcoholism treatment
  • health products women
  • antibiotics for skin infections
  • treatment of type 1 diabetes
  • anxiety and zoloft
  • gaining muscle mass
  • abilify dosage
  • current flu virus
  • erythromycin penicillin
  • osteoporosis vitamin d
  • how to increase fertility
  • drugs to treat depression
  • online pain dr
  • viagra testosterone
  • meds on line
  • cheapest cialis index
  • bone cancer treatment
  • cancer treatments
  • oral diabetes medication
  • fat loss tips
  • simvastatin
  • menopause products
  • drugs hair loss
  • high blood pressure drug
  • list of anti anxiety medications
  • stop psoriasis itching
  • urinary tract infection treatment at home
  • high blood pressure drugs available
  • hair loss vitamins
  • buy ativan
  • free levitra samples
  • mexico pharmacies
  • relafen effectiveness
  • menstrual cycle problems
  • lower blood pressure drugs effects side
  • cures for blood clots
  • doxycycline dose
  • all natural cure for acne
  • skin redness
  • viagra coverage california
  • uses of valium
  • back pain remedies
  • candesartan
  • order valium without prescription
  • high blood pressure drug treatment
  • drugs fda
  • cheap caffeine