I’m new to routeros. Really need some help and advice here.
I want to set up a LAN with 100 PPPOE client, if the client want to access the LAN service(local server, local media/web) is free and/Or not count in RouterOS, but if the client want to access the WAN, the RouterOS will count for those traffic.
Is there any way i can distinguish the traffic couting base on ip or LAN/WAN in RouterOS?
I know there is a Walled Garden in hotspot, and i tried, if i do not login using PPPOE, yes i can browse all Walled Garden content, but once i login with PPPOE, RouterOS start counting the traffic even i access walled garden list. Is there anyway to set not to count the traffic in Walled Garden?
SO if i can’t take off the accouting of LAN or using walled garden. Is there anyway that i can specific certain network which is not counts to the radius? Thanks!!
hello louis, best option to be able to refund traffic is to use the ip-accounting as a secondary recorder.
This will present you with a listing of, simply put: src-address dst-address upload-traffic download-traffic
You will however need to write a script of sorts to a) poll this from your radius server and b) refund the recognised free data back on to the users account.
We do this with our hotspot systems, so that users are able to access sites unmetered while not logged in, but when they are logged in the data is counted only to be refunded by the script later on (however often the polling is done)
Thanks for you reply,
a) poll this from your radius server and
Do u mean i can poll the IP accounting data from the radius server?
and when i look at the data in winbox it shown:
SRC-ADDRESS DST-ADDRESS PACKETS BYTES
0 10.9.5.88 10.8.0.4 408534 39822596
rather than upload and download, can you please tell me how do u get the up/down usage please?
b) refund the recognised free data back on to the users account.
do u mean i use script to change the database on the usage of user?
Do u have any sample that i can take a look Please!?
Theres plenty of ip accounting scripts out there, the main thing is that it needs to be setup to work with your radius server.. which depends on what values you’re using and how user accounts are setup/saved/even what times you want to run a refund script.