how to configure FreeRADIUS to proxy the PAP request inside an EAP-TTLS tunnel

你说的曾经没有我的故事 提交于 2019-12-12 17:43:49

问题


how can I configure FreeRADIUS to proxy the PAP request inside an EAP-TTLS tunnel? Client sends a EAP-TTLS with PAP as inner protocol to freeradius server. I want to proxy the PAP request to another RADIUS server which understands only PAP. How could I configire freeradius for this.


回答1:


Ensure in the eap module configuration

proxy_tunneled_request_as_eap = no

Configure your proxy realm in proxy.conf

Set proxy realm in inner server

update control {
    Proxy-To-Realm := <realm>
}



回答2:


Just putting the solution steps in case someone needs it.

  1. Add realm in proxy conf file (/sbin/proxy.conf): realm MYAUTH { type = radius authhost = Radius_server_IP:Port] secret = RadiusSharedSecret nostrip }

  2. Modify virtual server information in /etc/raddb/mods-enabled/eap.conf: ttls{ ......... ......... virtual_server = "proxy-inner-tunnel" }

  3. In /etc/raddb/sites-enabled creates a softlink proxy-inner-tunnel pointing to /etc/raddb/sites-available/proxy-inner-tunnel. Modify proxy-inner-tunnel to add the proxy realm: authorize {
    update control { &Proxy-To-Realm := "MYAUTH" } }



来源:https://stackoverflow.com/questions/33864953/how-to-configure-freeradius-to-proxy-the-pap-request-inside-an-eap-ttls-tunnel

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!