Community discussions

MikroTik App

Search found 2 matches

by misko
Wed Nov 13, 2013 4:49 pm
Forum: Scripting
Topic: Send notification mail on new VPN connection
Replies: 14
Views: 16092

Re: Send notification mail on new VPN connection

Thank you very much, it works like a charm. :) Now we got a new request that they want to get a mail when someone tries to connect. On an unsuccessfull connection to fire off a mail. I managed do do that, but I get three mails instead because of the three log inserts: <pptp-0>: waiting for call... <...
by misko
Mon Oct 28, 2013 12:51 pm
Forum: Scripting
Topic: Send notification mail on new VPN connection
Replies: 14
Views: 16092

Send notification mail on new VPN connection

Hello everybody :) I am new to mtik scripting so in advance I`m sorry for my newbie questions. I made a script that checks the active connections in PPP, and when it detects a connection it sends an email. foreach i in=[ppp active find ] do={ local name [ppp active get value-name=name $i]; local ipa...