how to configure FreeRADIUS to proxy the PAP reque

2019-07-20 01:40发布

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.

标签: freeradius
2条回答
我欲成王,谁敢阻挡
2楼-- · 2019-07-20 02:11

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" } }

查看更多
我只想做你的唯一
3楼-- · 2019-07-20 02:16

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>
}
查看更多
登录 后发表回答