Académique Documents
Professionnel Documents
Culture Documents
https://aacable.wordpress.com/tag/user-manager/
/ppp secret add caller-id="" disabled=no limit-bytes-in=0 limit-bytes-out=0 name=zaib password=1234 profile=pppoe-profi
Now at user end, create a pppoe dialer and connect with the id = zaib and password = 1234
(Howto create pppoe dialer
1
http://www.petri.co.il/configure_a_pppoe_dialer_in_windows_xp.htm
If all goes ne, you will start surng the internet smoothly :)
Now we will move to mikrotik billing system using its built-in radius called USER MANAGER.
15 of 74
1
2
3
21/10/2558 17:40
https://aacable.wordpress.com/tag/user-manager/
um-main-screen (zaib)
Now click on Proles, on your right window, click on + sign (beside prole)
For test purposes, we will add one prole with 256Kbps speed limit, and 30 days UP Time limit. You can add many packages as per your requirements later, once
you understand how thins works here)
Now we want to add 256Kb / 30days Limit Package, Name it 256k.
* in Name for users type 256k
* in Validity, type 4w2d (for 1 month validity)
* in Starts , select At First Logon (User time will start when users rst login)
* in Price enter the amount at which you sell this package to users. e.g 400
* in Shared Users select 1 (so single ID cannot be used from multiple computers simultaneously)
Now Save Prole. (See a ached Screenshot)
16 of 74
21/10/2558 17:40
https://aacable.wordpress.com/tag/user-manager/
um-add-prole-zaib
Now We want to add Bandwidth Limitation to this prole, goto Limitations and click on ADD ,
A new window will appear
* in Name type 256k
* in Rate Limit in RX 128k in TX 256k ,
Now click on SAVE. (See a ached Screenshot)
17 of 74
21/10/2558 17:40
https://aacable.wordpress.com/tag/user-manager/
um-rate-limit-zaib
Now go back to Proles Section. Here you will see your created 256k
Prole, clien on Add New Limitation and and click on 256k Limit and
click ADD bu on. (See a ached Screenshot)
Done, your rst package with 256k Limit and 30 Days uptime limit is created. Now we will Add new user and tag them with this new 256k prole.
18 of 74
21/10/2558 17:40
https://aacable.wordpress.com/tag/user-manager/
Goto Users, and click on ADD / One (to add single user).
* in Username type zaib
* in Password type 1234
* in Constraints check on Called ID Bindon rst use. This options is good if you want to bind user id with rst detected MAC address, if you dont want to bind
, leave this option as it is.
* in Assign prole select 256k prole and click on ADD bu on to nish.
(See a ached Screenshot)
Now that we have nished our basic work with UM, its time to integrate it with Mikrotik, so that all Mikrotik PPPoE authentication will be done
via UM.
We have to modify some se ings, both on UM and Mikrotik as well.
In UM we have to add Mikrotik Router.
* In UM, Goto Routers , ADD, NEW, name it Mikrotik,
* in IP Address tpye you server IP address, 10.0.0.1
* in Shared Secret type 1234
19 of 74
21/10/2558 17:40
https://aacable.wordpress.com/tag/user-manager/
Now click ADD to nish. (See a ached Screenshot) (in the image ip address is showing 192.168.2.1, dont get confused, use your own ip address
class here)
UM-RADIUS-add
UM section is complete , now moving on to MIKROTIK to complete the RADIUS setup.
Make sure you change the ip address as per your local conguration.
20 of 74
21/10/2558 17:40
https://aacable.wordpress.com/tag/user-manager/
! COMPLETED !
Now from client end, connect with Users id zaib and password 1234 that you created via UM. It should connect ne. After rst connect, this ID
will expires in 30 days and bandwidth limit will be 256kb download and 128kb upload.
Howto create pppoe dialer h p://www.petri.co.il/congure_a_pppoe_dialer_in_windows_xp.htm
To view status/change password etc, from client side, point the browser to
1
http://10.0.0.1/user
OR
1
http://192.168.2.1/user
[depend on ip series.
If you need any assistance, Do let me know.
21 of 74
21/10/2558 17:40
https://aacable.wordpress.com/tag/user-manager/
:local Flag
:set Flag [/tool user-manager log find]
:if ([:len $Flag] > 0) do={/tool user-manager log print append file log;/tool user-manager log remove [/tool user-manag
:log error "Clearing Data Base Logs ... It may take some time & CPU if Logs are huge in size......."
/tool user-manager database clear-log
:log warning "Data Base Cleared ... Now Rebuilding Data Base , It may take some time & CPU if Logs are huge in size....
/tool user-manager database rebuild
:log warning "Data Base Rebuild Complete...."
.
.
Regards
SYED JAHANZAIB
Comments (210)
Howto setup Mini ISP using Mikrotik as PPPoE Server + DMASOFTLAB Radius Manager Scratch
22 of 74
21/10/2558 17:40
https://aacable.wordpress.com/tag/user-manager/
Card Billing System+ Linux Transparent Firewall Bridge + Ubuntu SQUID 2.7 Proxy Server
Filed under: Linux Related, Mikrotik Related, Radius Manager Tags: authentication, autmatic billing, billing, card system, dmasoftlab, dmz,
Freeradius Serve, karachi, linux bridge, Linux DHCP, linux rewall bridge, linux transparent bridge, mac ip restriction, mac to ip binding, mikrotik,
Mikrotik PPPoE Server, Mini ISP, networking, pcc, PPPoE server, Pre Paid Billing, radius manager, scratch card, squid, story, User Manager Syed
Jahanzaib / Pinochio~:) @ 8:35 AM
i
36 Votes
23 of 74
Following is my personnel experience / Guide on Howto congure a mini ISP type Network using following scenario . . . .
21/10/2558 17:40