[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Radiusplugin-users] push "route x.x.x.x 255.255.255.0" with radiusp
From: |
Ralf Lübben |
Subject: |
Re: [Radiusplugin-users] push "route x.x.x.x 255.255.255.0" with radiusplugin |
Date: |
Tue, 08 May 2012 07:07:35 +0200 |
User-agent: |
KMail/4.8.2 (Linux/3.2.0-23-generic-pae; KDE/4.8.2; i686; ; ) |
Hi,
yes this is possible.
Use the FramedRoute-Attribute at the Radius server, e.g.
user1 Cleartext-Password := "testing"
Service-Type = Framed-User,
Framed-IP-Netmask = 255.255.255.0,
Framed-IP-Address = 10.8.0.33,
Framed-Routing = Broadcast-Listen,
Framed-Compression = Van-Jacobsen-TCP-IP,
Framed-Route += "192.168.101.0/26 10.8.0.1/32 1",
Framed-Route += "192.168.111.0/24 10.8.0.1/32 1",
Framed-Route += "192.168.112.0/24 10.8.0.1/32 1",
Acct-Interim-Interval=5,
Ascend-Data-Rate=100,
Ascend-Xmit-Rate=200,
Framed-Protocol = PPP
The values will be written to the client config file of the individual user as
the OpenVPN iroute option.
Regards,
Ralf
Am Sonntag, 6. Mai 2012, 14:20:52 schrieb Tobias Hachmer:
> Hello list,
>
> is it possible to push individual routes to clients via radius reply
> attribute?
> If yes, please give me an example with the reply attribute I have to
> configure on FreeRADIUS side.
>
> For now I'm only able to push same routes to all clients in global
> openvpn-server config.
> But the radiusplugin overwrites the ccd-file of each client, so I can't
> place there individual routes.
>
> Best regards,
> Tobias Hachmer
>
> _______________________________________________
> Radiusplugin-users mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/radiusplugin-users