Hello! I've been having some trouble lately with understanding how exactly I can use Framed Routes with OpenVPN using freeradius. There is a plugin for OpenVPN which deals with FreeRadius authentications,ip pools,framed routes and so on. I have configured Framed IP addresses and a Framed Route for a user in FreeRadius. When I am connecting to my VPN, FreeRadius writes the framed IP address and the route specified, in /etc/openvpn/ccd/alex. So,in "alex" we have the following:
ifconfig-push 1.1.1.1 255.255.255.0
iroute 192.168.101.0 255.255.255.192
1.1.1.1 is supposed to be the framed IP address,and 192.168.101.0 the framed route. But,shouldn't there be a
push "route 192.168.101.0 255.255.255.192" in there also? Am I missing something? The Framed IP works, but the framed route does not get assigned to the client,because there is only the
iroute line in this client's config file.
Here is my server.conf
# Which device
dev tun
user nobody
group nobody
persist-tun
persist-key
server 10.10.0.0 255.255.255.0
management 127.0.0.1 7505
float
username-as-common-name
client-config-dir ccd
route 192.168.101.0 255.255.255.192
client-to-client
ping-timer-rem
keepalive 10 60
# Use compression
comp-lzo
# Strong encryption
#tls-server
dh dh2048.pem
cert server.crt
key server.key
ca ca.crt
client-cert-not-required
plugin /etc/openvpn/radiusplugin.so /etc/openvpn/radiusplugin.cnf
verb 3
mute 10
status /var/log/openvpn/status.log 1
log /var/log/openvpn/radiusvpn.log
Please help me :roll: