In order to arrange access to the RADIUS server in local network i need to push no-route rule.
There is no corresponding command in configuration, isn’t?
if possible to add this request, Can you share with us the full configuration add on ocsev.conf? or
add a feature request with this information to extend the function:
My RADIUS Server resides in 10.1.0.0/24 network.
openconnect client configured to 10.1.0.0/24 network.
What i simply need - split tunneling for 10.1.0.0
This possible by adding option into ocsev.conf
no-route=10.1.0.0/24
i’ve added few lines to posconfiguration script in VYOS
/config/scripts/vyos-postconfig-bootup.script
# Insert workaround for openconnect VPN ocserv configuration
# to allow RADIUS server authentication
echo '#' | sudo tee -a /run/ocserv/ocserv.conf
echo 'no-route=10.1.0.0/24' | sudo tee -a /run/ocserv/ocserv.conf
sudo systemctl restart ocserv
thus authentication requests went freely to server.