How to triger an application after a authentication done
Hi iam trying to make some iptables rules to trigger after authentication done with Radius Server here is my setup user--------BRAS------Freeradius---Gateway Router(Linux+iptables)--Internet when the user intiate pppoe with BRAS, bras send the request to Radius Radius checks the authentication and send to the user for the authorisation. when use authenticated and authorised. and same time i want to trigger the script to open a Iptable rules and his bandwidth with TC can some one give me suggestion how can i achieve this ? ram
ram wrote:
Radius checks the authentication and send to the user for the authorisation. when use authenticated and authorised. and same time i want to trigger the script to open a Iptable rules and his bandwidth with TC .. how can i achieve this ?
Write scripts on the Linux router to implement this. You can push names of filter rules from FreeRADIUS to the Linux router. The Linux router can then key off of those names to implement firewall policies. See the Filter-Id attribute. But almost all of the work involved here is *not* RADIUS. Alan DeKok.
On 10/26/07, Alan DeKok <aland@deployingradius.com> wrote:
ram wrote:
Radius checks the authentication and send to the user for the authorisation. when use authenticated and authorised. and same time i want to trigger the script to open a Iptable rules and his bandwidth with TC .. how can i achieve this ?
Write scripts on the Linux router to implement this.
You can push names of filter rules from FreeRADIUS to the Linux router. The Linux router can then key off of those names to implement firewall policies. See the Filter-Id attribute.
Hi I have made the script ready its excuting normally but i wondering how can i integrate the same with Radius when the authentication success. it should call the script and allocate IP any document will be good idea to point me. ram
participants (2)
-
Alan DeKok -
ram