OPNsense Forum

English Forums => General Discussion => Topic started by: lfdominguez on December 07, 2017, 05:53:15 am

Title: Accounting traffic by MAC
Post by: lfdominguez on December 07, 2017, 05:53:15 am
Hello people, this is my first post, so sorry for my english:
I'm the Network Administrator of a business and recently we configure into the enterprise cellphones a Data Mobile Network that connect to my VPN; in the OPNSense that is the WAN Interface.
The problem is that my ISP (that provide me the Data Movile service) don't disable the Data Mobile when it reach the limits by cellphone and then charges me for additional mega consumed, so i need track all the packets that arrive to the proxy for accounting and alert about the limits.
I can't do by IP because the IP's to the moviles are dynamic assigned and not attached to the cellphone, so the cuestion is simple, how to do the accounting of the network packages that income and outcome in the WAN interface by MAC.
Title: Re: Accounting traffic by MAC
Post by: bartjsmit on December 07, 2017, 08:28:01 am
It is easiest to monitor the traffic and set limits on the mobile phones themselves. Since you have a contract for all of them, I assume that you are interested in the total consumption.

OPNsense will support more than one VPN, which allows you to run a separate VPN for the mobile users and keep an eye on the data transferred through that. You can analyse this with SNMP tools, or netflow tools such as solarwinds.

Bart...
Title: Re: Accounting traffic by MAC
Post by: lfdominguez on December 07, 2017, 02:35:35 pm
Thanks for the reply, but I don't let the user change they mobile data limits, I can configure it but they can in configure it too and I need know how is trespassing the limits.
The limits are per cellphone, not in total, the problem with the monitor is that the cellphone don't have an station IP, because that I want monitor them by MAC