islouis wrote:
I want to set up a LAN with 100 client, if the client want to access the LAN service(local server, local media/web) is free and/Or not count in freeradius, but if the client want to access the WAN, the freeradius will count for those traffic.
No. FreeRADIUS *stores* accounting information. The NAS *generates* it.
Is there any way i can distinguish the traffic couting base on ip or LAN/WAN in freeradius?
Only the NAS can do this.
My network setup at the moment is
Local client PPPOE router-->Switch-->freeradius+mysql+pppoe+pptpd-->ADSL router to WAN | LAN server
Install traffic counters on the main server box. See mrtg and related tools. Alan DeKok.