Freeradius + OpenVPN Solution to Traffic Limitation

Fajar A. Nugraha list at fajar.net
Thu Nov 1 15:56:11 CET 2012


On Thu, Nov 1, 2012 at 9:39 PM, yegle <cnyegle at gmail.com> wrote:
> A naive way would be, use OpenVPN's radiusplugin to authenticate user with a
> radius server.

Correct. That's the first part of openvpn-radius integration. Which
works, and still somewhat easy enough.

> Then you'll be able to run a crontab at a reasonable frequency to disable
> users who have used the quota already and reject new connection.

No need for that. That's what sqlcounter is for.

> If you need to kick users offline when that user used all quotas and still
> connecting, you may need to look into OpenVPN's management console.

This is probably the hardest part of the integration.

-- 
Fajar


More information about the Freeradius-Users mailing list