/interface pppoe-server  →  RouterOS config generator

MikroTik PPPoE Server
+ RADIUS Generator

Fill in your router's interfaces and RADIUS details on the left. A ready-to-import RouterOS script builds itself on the right as you type — copy it or download it as a .rsc file.

Interfaces
Subscriber addressing
RADIUS (SAS4 / any RFC-2865 server)
PPPoE service & default profile
Hardening
pppoe-config.rsc

        

What this script sets up

Five RouterOS building blocks, generated together so they actually reference each other correctly — the part that's easy to get wrong when copying commands from five different forum threads.

01 · NAT

A single masquerade rule on the WAN interface so every PPPoE client can reach the internet through one public IP.

02 · RADIUS

Registers your RADIUS server for PPP and turns on accounting with a 5-minute interim update — what billing platforms like SAS4 expect for live session data.

03 · Profile

A default PPP profile carrying your DNS servers and a rate-limit built from the upload/download fields — RouterOS reads this as rx-rate/tx-rate.

04 · PPPoE server

Binds the service to your subscriber-facing interface, one session per host, MTU/MRU tuned for PPPoE overhead.

05 · Firewall

Baseline input/forward rules: drop invalid connections, and optionally close Winbox and Telnet to anyone sitting on the WAN side.

Import

Download the .rsc file, copy it to the router with Winbox's file manager, then run /import pppoe-config.rsc.

Before you deploy: this is a starting template, not a certified fit for every topology. Review the pool range and gateway IP against your real addressing, and test on a router you can reach out-of-band before relying on it in production.

Want the reasoning behind each line, not just the script? Read the full PPPoE + RADIUS setup guide — covers why WISPs use PPPoE over static IPs, how RADIUS accounting actually works, and the MTU/CGNAT issues that trip people up.