Linux command
pppd-radius 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Start PPP with RADIUS authentication
pppd plugin radius.so
Use a custom RADIUS configuration file
pppd plugin radius.so radius-config-file [/etc/radiusclient/radiusclient.conf]
Add a RADIUS Attribute-Value pair
pppd plugin radius.so avpair "[attribute=value]"
说明
pppd-radius is a plugin for the PPP daemon that enables RADIUS (Remote Authentication Dial-In User Service) authentication. It permits pppd to perform PAP, CHAP, MS-CHAP, and MS-CHAPv2 authentication against a RADIUS server instead of the usual /etc/ppp/pap-secrets and /etc/ppp/chap-secrets files. The plugin is built on the radiusclient library, which has its own configuration files (usually in /etc/radiusclient). This is commonly used by ISPs and enterprise networks to centrally manage dial-up, DSL, and VPN user authentication.
参数
- plugin radius.so
- Load RADIUS plugin.
- radius-config-file _filename_
- Use specified file as radiusclient configuration file default=/etc/radiusclient/radiusclient.conf.
- avpair _attribute=value_
- Add an Attribute-Value pair to be passed to the RADIUS server on each request.
- map-to-ifname
- Set RADIUS NAS-Port attribute to number equal to interface name (default).
- map-to-ttyname
- Set RADIUS NAS-Port attribute value via libradiusclient library.
FAQ
What is the pppd-radius command used for?
pppd-radius is a plugin for the PPP daemon that enables RADIUS (Remote Authentication Dial-In User Service) authentication. It permits pppd to perform PAP, CHAP, MS-CHAP, and MS-CHAPv2 authentication against a RADIUS server instead of the usual /etc/ppp/pap-secrets and /etc/ppp/chap-secrets files. The plugin is built on the radiusclient library, which has its own configuration files (usually in /etc/radiusclient). This is commonly used by ISPs and enterprise networks to centrally manage dial-up, DSL, and VPN user authentication.
How do I run a basic pppd-radius example?
Run `pppd plugin radius.so` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does plugin radius.so do in pppd-radius?
Load RADIUS plugin.