Skip to content
Guides

MikroTik PPPoE billing: a practical setup guide

PPPoE is how most Kenyan ISPs sell monthly home internet: each client dials in with a username and password, gets a speed from their profile, and is switched off when they stop paying. This guide explains each part on the MikroTik and how billing ties it together.

The parts of a PPPoE service

  • PPPoE server on the interface or bridge facing clients (often a VLAN per area).
  • IP pool the server hands addresses from.
  • Profiles, one per package, with the speed (rate limit) and address settings.
  • Secrets, one per client: username, password, service pppoe and the profile.
  • NAT so clients reach the internet through your WAN.

Doing it by hand

On the router you would create a pool (/ip pool add), a profile per package with rate-limit such as 10M/10M, the server (/interface pppoe-server server add) and then a secret per client (/ppp secret add name=… password=… service=pppoe profile=…). Suspending means disabling the secret and removing the active session. That works for twenty clients; at two hundred, every renewal and every late payer is manual work.

Handling expiry properly

Simply disabling a late client works, but the client only sees "no internet" and calls you. A better pattern moves them to an expired profile whose traffic is redirected to a renewal page, while everything else is blocked. The client opens any website, sees "your package has ended, pay KES X", pays, and is back. JMSURF ISP sets this up on the router and switches clients between profiles automatically at the exact expiry time.

Billing on top: how JMSURF ISP does it

  1. Link the router with one command. Choose PPPoE (and Hotspot if you want both).
  2. Create PPPoE packages with price, speed, burst and optional data cap.
  3. Add clients, or import them from a CSV of your current list. Secrets are created on the router.
  4. Connect your M-Pesa Paybill or Till. Clients get a payment link by SMS and reminders before expiry.
  5. Payments renew clients on the router immediately; non-payers move to the expired profile on time.

Good habits for PPPoE networks

  • Use account number prefixes per area (for example KAS1, KAS2) so customer care knows where a client is.
  • Lock accounts to their device if you have password sharing, and block VPN logins if needed.
  • Use Redial after a router change instead of rebooting the ONU: it pushes the login again and confirms the client is back.
  • Watch refused logins: a secret that the router rejects leaves a paying client offline. JMSURF ISP flags and alerts these.
  • Keep FastTrack in check so speeds match the package.

Moving existing PPPoE clients

If your secrets are already on the router, import your client list with expiry dates and use Move from another billing system on the router page. It previews what is on the router and switches over only when every login is confirmed, so clients stay connected.

Questions ISPs ask

Can PPPoE and hotspot run on one MikroTik?
Yes, on different interfaces or bridges. JMSURF ISP bills both in one workspace.
What speed format does MikroTik use?
Rate limits are written upload/download, for example 10M/10M; JMSURF ISP sets them from the package.

Your network, billing itself by tonight.

Sign up, paste one command into your MikroTik, connect your own M-Pesa Paybill or Till and add your packages. Customers pay and connect on their own.