-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Boris wrote: > Hej listmembers, > > > I need a user-usable (not shell) possibility to switch on a PC behind a > leaf router in a remote LAN and I'm thinking of how to do. > > First idea was to create the magic paket by a protected webfrontend on a > server in a different location but as far as I understand this magic > paket is not routable to the target PC. > > So the next idea is to build a web frontend on the leaf box. I don't > know yet about the capabilities of mhttpd. Is it possible (protection etc.)? > > Any more ideas? Is there perhaps already a solution for this topic?
You will need a tool on the router to generate a magic packet. Are you running ssh on the firewall? If so, I would trigger the running of this tool via an ssh session with shared keys, and put the user-interface portion somewhere else. So...basic operation is: 1) User interacts with full-blown server system to run "wake-up" cgi program. 2) Wake-up CGI program connects to the firewall as a particular user with pre-shared ssh key (ie: ssh [EMAIL PROTECTED]) 3) ~/.ssh/authorized_keys on the firewall is setup to run appropriate script on the firewall to actually generate the magic packet. 4) Desired remote machine wakes up. :) Depending on your network setup, there may be some additional fanciness involved (ie: dynamic DNS updates for your firewall if it doesn't have a static IP, etc), but nothing too major. - -- Charles Steinkuehler [EMAIL PROTECTED] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJJDfdLywbqEHdNFwRAp/TAJ9FsGUMzvw2CzFzzzmsCG7+kvYdSACfZMze tB5NxqsyBg6t/T1Sd0ZMm3A= =174+ -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ------------------------------------------------------------------------ leaf-user mailing list: leaf-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-user Support Request -- http://leaf-project.org/