Community discussions

MikroTik App
 
KimC
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 94
Joined: Sun Jun 06, 2004 3:16 pm
Location: Denmark

Remote triggering of script

Sat Jun 16, 2007 3:55 pm

I need to be able to activate a script on demand without directly accessing the router. Is there a way to do this ??

Regards Kim
 
KimC
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 94
Joined: Sun Jun 06, 2004 3:16 pm
Location: Denmark

Re: Remote triggering of script

Mon Jun 18, 2007 10:35 pm

Well, I found a rather primitive solution: a vbs script using the wscript.shell api and SendKeys, runníng a batch of telnet sessions to a bunch of routers. It is slow, but working.

However, there should be a better way ???
 
changeip
Forum Guru
Forum Guru
Posts: 3830
Joined: Fri May 28, 2004 5:22 pm

Re: Remote triggering of script

Tue Jun 19, 2007 3:28 am

use a port knock to the router to add something to an address-list, then have a script check if its present and run if so.

Sam

Who is online

Users browsing this forum: erkexzcx and 69 guests