⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 install.old

📁 radius服务器
💻 OLD
字号:
			How to install RADIUSLast modified 95/01/06(Also see the RADIUS Chapter in the manual.)The below examples assume you're installing RADIUS in /etc/raddb butyou can place it anywhere if you change radius.h and recompile or usethe -d flag to tell it what directory to find its configuration files in.If you have pminstall and aren't running NIS (Yellow Pages), runpminstall and choose "Install RADIUS", then as root do"chmod 700 /etc/raddb", then skip down to SETTING UP CLIENTS.If you don't have pminstall, do the following:Add the following 2 lines to /etc/services on your RADIUS server, orif you're running NIS (Yellow Pages) add these lines to your servicesNIS map on your NIS master and push the maps.radius          1645/udp        radiusdradacct		1646/udpNow execute the following commands as root:umask 22mkdir /etc/raddb /usr/adm/radacctchmod 700 /etc/raddb /usr/adm/radacctCopy the contents of /usr/portmaster/radius/raddb into /etc/raddb.Compile radiusd from /usr/portmaster/radius/src and place it in/etc/radiusd or wherever you prefer.SETTING UP CLIENTSThe PortMaster's hostname and the shared secret are placed in/etc/raddb/clients, separated by a tab.  Your user entries are placedin /etc/raddb/users.  Examples of each can be found in clients.exampleand users.example.  You shouldn't need to change the dictionary file.Start radiusd (you'll probably want to add this to /etc/rc.local orsome other file that gets run at system boot time)./etc/radiusdradiusd -x will produce debugging output which may be helpful if thingsdon't seem to be working.If radiusd has problems it'll print to /etc/raddb/logfile or /dev/consoleif it can. Note that Framed-Compression defaults to on if you don't specify it,so SLIP users who don't want VJ header compression MUST includeFramed-Compression = None.Configure your PortMaster so that it knows which host the radiusd isrunning on and what the shared secret is.  On the PortMaster, set theRADIUS server and the shared secret using the "set authentic" and "setsecret" commands, or from the Edit RADIUS menu on pmconsole.  Thesecret is case-sensitive and can be up to 16 characters long.  Do notuse control characters in the secret.  You can configure a backupRADIUS server with "set alternate" but it's not required.  Make sureall ports have passthrough disabled with "set all security on" followedby "reset all" (Warning!  "reset all" will drop off anyone who's on theport at the moment.) On older versions of ComOS you'll need to do "sets0 security on", "set s1 security on", etc.  Do a "save all" to savethe changes to nonvolatile memory.The PortMaster will check its local User Table first, and if it doesn'tfind the user there AND passthrough is disabled AND a RADIUS server isset, it will then query the RADIUS server.Make sure your DNS has an in-addr.arpa entry for the PortMaster if you're using Rlogin to Linux. If you're using Rlogin or PortMaster service and get prompted for thepassword twice, you can add the PortMaster's hostname to your/etc/hosts.equiv file to get rid of the second password prompt.  Do NOT do this if you're using Passthrough and not RADIUS!!!If you're already in production with the User Table, a good way toswitch over to using RADIUS is first to add a user to RADIUS that's notin the PortMaster's User Table, test with that, and when everythingchecks out use pmreadpass (if on a supported platform) to copy everyonefrom the PortMaster to the /etc/raddb/users file, then get rid of theusers in the PortMaster's local User Table.  Edit the output frompmreadpass to remove the ", Client-ID = 192.9.200.1" clause (the IPaddress will match your PortMaster's IP address).  pmreadpass isincluded in release 3.1 of the PortMaster administration software.You'll also need to modify Framed-Filter-Id if you have any.           Framed-Filter-Id = "std.ppp"  means that the input filter is std.ppp.in (if it exists) and the output filter is std.ppp.out (if it exists).  

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -