Compose service classes
Combine reusable bandwidth and firewall policy, then expose the class safely to business access plans.
A service class is the technical policy tier applied to an authorized device. It combines one optional bandwidth profile with any firewall rules that target the class. It does not contain pricing, duration, DHCP, a gateway, or a VLAN.
The complete ownership model
| Object | Managed in | Responsibility |
|---|---|---|
| Network | NOC | Where a client connects: VLAN/native attachment, address, DHCP, captive/open behavior |
| Bandwidth profile | NOC | Reusable download/upload rate |
| Firewall rule | NOC | Ordered access restriction, optionally scoped to a service class |
| Service class | NOC | Technical policy bundle referenced by business plans |
| Package / access plan | Business Portal | Product name, duration, price, and selected service class |
| Account entitlement | Core | Expiry and the effective service class actually enforced |
This prevents a package edit from readdressing a client and keeps business product management separate from low-level network policy.
1. Prepare the policy components
Create the bandwidth profile first and decide which filtering the tier needs. After the service class exists, author the matching firewall rules and select it as their scope. Firewall rule order remains global and visible on the Firewall page.
2. Create the class
Open Service Classes → New service class.

- Enter a clear technical name such as
Guest Basic,Guest Premium, orStaff. - Select an active bandwidth profile, or Unlimited / no bandwidth profile.
- Set status to active.
- Confirm the tenant and save.
3. Add class-specific firewall behavior
Open Firewall, create an input or forward accept/drop/reject rule, and select the
service class in Service. Reorder the rule in Firewall until its priority expresses
the intended policy.
When you reopen the service class, Applied firewall displays every rule that targets it. This section is intentionally read-only: editing remains on Firewall so operators always see the global first-match order.

4. Select the class in a business package
In the Business Portal, create or edit an access plan and select this service class.
When a free-tier activation or PIN redemption occurs, Core copies the plan's current
service class onto the account as effective_service_class_id.
That snapshot has important behavior:
- editing a plan later does not silently repolicy accounts already online;
- a newly activated or redeemed entitlement receives the plan's current class;
- the edge receives only the effective technical policy, not price or package details;
- changing policy never chooses a DHCP pool or forces a new lease.
5. Validate end to end
Use one client account and verify this sequence:
- The client receives an address from its physical network.
- Portal activation creates a current entitlement.
- NOC Leases shows the correct network and MAC.
- The agent firewall authorization set contains the client IP.
- The service-class firewall rule affects only the intended class.
tcshows the selected download and upload rate on the network interface and IFB.- Deleting or expiring the account removes authorization and class membership without deleting the DHCP lease.
Status and deletion
Disable a class to prevent new package selection while preserving the record and its references. Deletion is blocked while a package, account, or firewall rule still uses the class. Release those references deliberately rather than forcing orphaned policy.
Do not bind service tiers to DHCP pools
DHCP must allocate before captive login knows the purchased plan. Service policy follows the authorized identity; network and VLAN selection follow the physical attachment.
Recommended rollout order
- Install and enroll the agent.
- Enable required edge services.
- Create and converge native/VLAN networks.
- Create bandwidth profiles.
- Create service classes.
- Add and test firewall rules.
- Select classes from Business Portal packages.
- Activate a test device and validate both permitted and denied traffic.
Return to the system overview or review firewall policy before introducing another tier.