How to create packages, policies and fee groups

Who does this
ISP administrator or staff with package rights
Permission
Add packages / “Change packages (speed, price, quota, burst) and archive them” for packages; “Policies: groups of RADIUS attributes for packages, expired and disabled subscribers” for policies; Tax and extra fee groups for packages for Tax and extra fees; “Allocations: a package's speed by time of day” for allocations
Packages list with speed, price and subscribers on each
Packages list with speed, price and subscribers on each

Steps

  1. Optional first: open Policies → Policies and click Add policy. Give a Group Name and add attribute rows (Attribute List, Attribute OP, Attribute Type = Check or Reply, Attribute Name, Attribute Value); More rows adds rows; click Submit.

    A policy is a named group of RADIUS attributes that packages can use, for example Mikrotik-Rate-Limit = 1M/1M with Mikrotik-Address-List = expired. Policies can also be imported and exported as CSV.

  2. Optional: Packages → Tax and extra fees → Add fee group. Enter a Name, then add charges: Charge, How much (Percent of price / Percent of price and charges above / Fixed rupees), Percent or rupees and Tax? (No: a fee / Yes: tax); Add charge adds more; click Save fee group.

    Each renewal adds these charges after the subscriber's discount. The form shows a live example on a Rs 1,000 package.

  3. Open Packages → Packages and click Add package (large popup).

    Import and Export buttons sit next to it (CSV).

  4. Basics: choose a Policy (optional), enter Name, Description, Billing type (Prepaid or Postpaid), Type (PPPoE or Hotspot) and Service.

    A Service of Others (IPTV, cable TV, maintenance) is billed and renewed the same way but never sent to RADIUS.

  5. Billing: enter the Price (what the subscriber pays for one period), optional Profit, Extra fee, GST/VAT, Auto-renew, Auto payment, a Tax and extra fees group, and for postpaid Days to pay (postpaid).

    A new price applies from each subscriber's next renewal.

  6. Expiry: set Duration with its Unit, and optionally Fixed expiry day, Fixed expiry time or Add the days left.

    With a fixed expiry day, prepaid renewals end on that day and the first period is priced pro rata; postpaid uses it as the bill day.

  7. Bandwidth: enter Download (Mbps) and Upload (Mbps) (leave both empty when the chosen policy sets the speed); optionally switch on Speed by time of day (up to 12 times), Burst and an Allocation group.

    On an existing package Send the new speed to subscribers online now pushes the change to live sessions; otherwise they get it at their next login.

  8. Optional: IP pools (IP pool, Expired IPv4 pool, Disabled IPv4 pool, IPv6 pools, When expired, When net off or disabled), Data quota (FUP, per day, per week, Carry leftover to the next period) and Session quota (Limit online time), and Availability (Allow self-activation, Apply to users, Apply to partners).

    Click Save package when done.

Add package popup: policy, name, billing type, service, price
Add package popup: policy, name, billing type, service, price

What saRa does

The package appears in the list and can be sold. Its speed, pool and quota rules are what FreeRADIUS returns at each login. Renewals use its price, duration and fees; Apply to users copies auto-renew onto its subscribers and sends a new speed to those online.

Good to know

  • Archived packages cannot be renewed.
  • Partners (resellers and retailers) get packages with their own cost price from the partner's page: Give a package.
  • Policies, fee groups and allocations have their own menu entries under Packages / Policies.