Logo

Switching between the billing plans


Jump to

Billing plan switch depending on time of the day

Suppose there are two billing plans in UserGate: daylight rate (operating from 9 AM to 9 PM) and night rate (from 9 PM to 9 AM). And we need to switch between the billing plans depending on the time of the day.

First create the Daylight and Night Rates (see Add billing plans section).

Select Daylight rate as the default billing plan for every user or a group. Then create a new rule (see Rule setup section), set up Rate as the Object and Change to as the action. In the Parameters drop-down list, select the Night rate ( illustration).

On the Time and Holidays page, mark the area from Monday through Sunday, from 9 PM to 9 AM. Apply this rule to all users. The setup rule will switch the default Daylight rate to the Night rate ( illustration).

Now create the rule which performs the switch back. The rule should change the current rate to the Daylight rate. On the 'Time and Holidays' page, mark the area from Monday through to Sunday, from midnight to 9 AM and from 9 PM to midnight ( illustration).

Billing plan switch depending on the destination URL

Suppose there are two billing plans: Internal (e.g. for visiting the website of the Internet Service Provider) and External (for visiting all other sites). And we need to switch between the rates depending on the destination URL.

Like in the case considered above, create two rates first (Internal and External). Assign the most frequently used rate (say, External) to all users as the default rate.

Create a new rule with Rate as the Object and Change to as the Action. In the drop-down list of parameters, select the External rate. On the 'Filters' page of the dialogue window, in the 'URL list' field, list the mask websites, e.g. (*provider.com*, *yahoo.com* , etc). Website addresses could be listed as IP addresses in the 'IP list' field ( illustration).

Related