Dec 04

Usage of variables in SSL VPN notifications

Hints and Tips, SSL VPN -
1 Star2 Stars3 Stars4 Stars5 Stars (2 votes, average: 5.00 out of 5)
Loading ... Loading ...
2 Comments »

I’m reporting my experience today trying to cope with customer’s need: he wanted SMS notification for One Time Password using SSL VPN 1.1.0 and SMS Channel plugin called SMTP Plugin 1.0.

This plugin allows sending mail to SMTP-to-SMS relay engine with the possibilities to use variables.

Variables that can be used are documented on page 372 of StoneGate SSL VPN Admin Guide.

In the specific case, customer wanted to have “User’s Mobile Number” appearing in mail subject in format “mob <number>@company.com”, leaving One Time Password details in mail body.

The reason was that mail gateway was processing this structure parsing correctly the number and sending the mail body ans the SMS contents.

I discovered a limitation in mail subject for allowed number of chars, and I tested successfully the following setup:

  • Click on Manage System – Notification Settings – SMS Channel
  • Edit the SMS Channel based on SMTP Plugin 1.0 – Click Next
  • Edit the Message tab and modify the “Subject” to read:
    mob [$user-mobile]
  • Leave the “Body” to read
    [$message]

With this configuration the mail is sent properly formatted.

I tried as a counterproof a similar setup where mail Subject was set to

Your SSL VPN account has changed - [$user-mobile]

and mail subject did get through properly (string was cut).

Hope this helps.

RoarinPenguin

written by RoarinPenguin - 764 views \\ tags: , , ,