diff --git a/radsecproxy_ubuntu24.md b/radsecproxy_ubuntu24.md index 3820f85..cf83346 100644 --- a/radsecproxy_ubuntu24.md +++ b/radsecproxy_ubuntu24.md @@ -19,6 +19,68 @@ apt upgrade ### Sonfiguration steps: -Edit ```/etc/radsecproxy.conf``` -Modify line +* Edit ```/etc/radsecproxy.conf``` + +Modify line to + ```LogDestination file:///var/log/radsecproxy/radsecproxy.log``` + +* Create the log file: + +``` +mkdir /var/log/radsecproxy && touch /var/log/radsecproxy/radsecproxy.log +``` + +Service restart: + +``` +systemctl restart radsecproxy +``` +### Adding clients, servers and realms + +Edit ``` radsecproxy.conf``` + +``` vi /etc/radsecproxy.conf``` + +Add/Modify the clients, servers and realms accordingly + +* Client entry +``` +client name_IdP_SP { + host public_ip + type udp + secret enter_sharing_secret_here + FTicksVISCOUNTRY LK +} + +server name_IdP_SP { + host Public_IP + type UDP + port 1812 + secret enter_sharing_secret_here +} +``` + +* Domain Entry + +``` +realm domain { + server name_IdP_SP +} +``` +Save and exit. ```esc``` + ```:wq``` + +Restart the service + +``` systemctl restart radsecproxy``` + +### Troubleshooting + +*How to check whether the service is running or not + +``` systemctl status radsecproxy``` + +*Check live logs + +```tail –f /var/log/radsecproxy/radsecproxy.log``` +