The text of a manual · part 12 of 49
Cyclades-TS User Guide: Chapter 3 - Additional Features, pages 107 to 116
Pages 107 to 116 of 454, from Cyclades-TS User Guide
The original document is the PDF (4.3 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Cyclades TS2000 and Avocent TS2000
Page 107
Chapter 3 - Additional Features Screen 7: *********************************************************** ********* C O N F I G U R A T I O N W I Z A R D ********* *********************************************************** (Note: If you are NOT connected to this unit through a console, and you have just reconfigured the IP of this unit, activating the new configurations may cause you to lose connection. In that case, please reconnect to the unit by the new IP address, and manually issue a saveconf to save your configurations to flash.)
Do you want to activate your configurations now? (y/n) [y] :
Screen 8: *********************************************************** ********* C O N F I G U R A T I O N W I Z A R D ********* *********************************************************** Flash refers to a type of memory that can be erased and reprogrammed in units of memory known as blocks rather than one byte at a time; thus, making updating to memory easier. If you choose to save to flash, your configurations thus far will still be in the memory of the system even after you reboot it. If you don't save to flash and if you were to reboot the system, all your new configurations will be lost and you will have to reconfigure the system. Do you want to save your configurations to flash? (y/n) [n] :
User Guide
107
Page 108
Access Method CLI Method To configure certain parameters for a specific serial port: Step 1: At the command prompt, type in the appropriate command to configure desired parameters. To activate the serial port. <string> should be ttyS<serial port number> : config configure line <serial port number> tty <string> To configure the protocol (<string> is the type of protocol desired): config configure line <serial port number> protocol <string> To configure the socket_port: config configure line <serial port number> socket <number> To configure the telnet_client_mode: config configure line <serial port number> telnetclientmode <number> To configure userauto: config configure line <serial port number> userauto <string>
Tip. You can configure all the parameters for a serial port in one line. config configure line <serial port number> tty <string> protocol <string> socket <number> telnetclientmode <number> userauto <string> Step 2: Activate and Save. To activate your new configurations and save them to flash, type: config write (This is essentially typing signal_ras hup and saveconf from the normal terminal prompt.)
108
Cyclades-TS
Page 109
Chapter 3 - Additional Features Configuration for Dial-in Access Parameters and Passed Values The parameters that need to be configured are shown in the following list. Note: The character “\” at the end of a line means that the string continues on the next line. conf.pppd
Location of the ppp daemon with Radius. Default value: /usr/local/sbin/pppd.
all.ipno
This is the default IP address of the 's serial ports. Any host can access a port using its IP address as long as a path to the address exists in the host's routing table. An example value would be 192.168.1.101+. The “+” indicates that the first port should be addressed as 192.168.1.101 and the following ports should have consecutive values.
all.initchat
Modem initialization string. Example value: TIMEOUT 10 "" \d\l\dATZ \OK\r\n-ATZ-OK\r\n “” \“” ATMO OK\R\N “”\ TIMEOUT 3600 RING “” \ STATUS Incoming %p:I.HANDSHAKE “” ATA\ TIMEOUT 60 CONNECT@ “” \ STATUS Connected %p:I.HANDSHAKE all.autoppp
Options to auto-detect a ppp session. The cb-script parameter defines the file used for callback and enables negotiation with the callback server. Callback is available in combination with Radius Server authentication. When a registered user calls the Cyclades-TS, it will disconnect the user, then call the user back. The following three parameters must be configured in the Radius Server.
User Guide
• attribute Service_type(6): Callback Framed;
• attribute Framed_Protocol(7): PPP;
• attribute Callback_Number(19): the dial number (example: 50903300).
109
Page 110
Access Method Example value: %i:%j novj \ proxyarp modem asyncmap 000A0000 \ noipx noccp login auth require-pap refuse-chap\ mtu %t mru %t \ cb-script /etc/portslave/cb_script \ plugin /usr/lib/libpsr.so all.pppopt all.protocol
PPP options when user has already been authenticated. Example value: %i:%j novj \ proxyarp modem asyncmap 000A0000 \ noipx noccp mtu %t mru %t netmask%m \ idle %I maxconnect %T \ plugin /usr/lib/libpsr.so For the Dial-in configuration, the available protocols are ppp, slip, ppp_only, and cslip. Example value: using PAP %i:%j novj \ proxyarp modem asyncmap 000A0000 \ noipx noccp login auth require-pap refuse-chap\ mtu %t mru %t \ cb-script /etc/portslave/cb_script \ plugin /usr/lib/libpsr.so Example value: using CHAP %i:%j novj \ proxyarp modem asyncmap 000A0000 \ noipx noccp login auth require-chap refuse-pap\ mtu %t mru %t \ cb-script /etc/portslave/cb_script \ plugin /usr/lib/libpsr.so
Create an user PAP or CHAP You also have to create a user in /etc/ppp/pap-secrets or in /etc/ppp/chap-secrets, depending if you want PAP or CHAP authentication. You will also have to create a user in /etc/ppp/pap-
110
Cyclades-TS
Page 111
Chapter 3 - Additional Features secrets if you want radius or local authentication. In case you don't want to repeat all the user database from the radius server an option is to use '*' as the user in /etc/ppp/pap-secrets: *
*
""
*
Tip. Documentation about PPP options can be found on the Linux pppd man page.
vi Method The parameters described above must be changed by directly editing the /etc/portslave/ pslave.conf file.
Browser Method For the serial ports you would have all the parameters described above but conf.*. To configure Access Method with your browser: Step 1: Follow the steps 1 to 4 in the section titled Configuration for CAS, “Browser Method” on page 88. Step 2: Click the Dial in Profile button in the Wizard section. Step 3: Scroll down to the Profile section. You can change the settings for all.ipno and all.protocol in this section. Step 4: Scroll to the modem Section. You can configure the parameter all.initchat here. Step 5: Scroll to the PPP Section. You can configure the parameter all.autoppp and all.pppopt here. Step 6: Click the Submit button. At this point, the configuration file is written in the RAMdisk. Step 7: Make the changes effective.
User Guide
111
Page 112
Access Method Click on the Administration > Run Configuration link, check the Serial Ports/ Ethernet/Static Routes box and click on the Activate Configuration button. Step 8: Save it in the flash. Go to the link Administration > Load/Save Configuration and click the Save to Flash button.
112
Cyclades-TS
Page 113
Chapter 3 - Additional Features CLI Method To configure certain parameters for a specific serial port: Step 1: At the command prompt, type in the appropriate command to configure desired parameters. To activate the serial port. <string> should be ttyS<serial port number> : config configure line <serial port number> tty <string> To configure the protocol. <string> is the type of protocol desired: config configure line <serial port number> protocol <string> To configure ipno: config configure line <serial port number> ipno <string>
Tip. You can configure all the parameters for a serial port in one line. config configure line <serial port number> tty <string> protocol <string> ipno <string>
Step 2: Activate and Save. To activate your new configurations and save them to flash, type: config write
(This is essentially typing signal_ras hup and saveconf from the normal terminal prompt.)
User Guide
113
Page 114
Authentication Authentication Authentication is the process of identifying an individual, usually based on a username and password. In security systems, authentication is distinct from authorization, which is the process of giving individuals access to system objects based on their identity. Authentication merely ensures that the individual is who he or she claims to be, but says nothing about the access rights of the individual. With the Cyclades-TS, authentication can be performed locally, or with a remote Radius, Tacacs, or ldap database,.
Parameters Involved and Passed Values The authentication feature utilizes the following parameters: Type of authentication used. There are several authentication type options:
all.authtype
114
• none (no authentication)
• local (authentication is performed using the /etc/passwd file)
• remote (This is for a terminal profile only. The unit takes in a username but does not use it for authentication. Instead it passes it to the remote server where it is then used for authentication.)
• radius (authentication is performed using a Radius authentication server)
•
TacacsPlus (authentication is performed using a TacacsPlus authentication server)
• ldap (authentication is performed against an ldap database using an ldap server. The IP address and other details of the ldap server are defined in the file /etc/ldap.conf)
Cyclades-TS
Page 115
Chapter 3 - Additional Features • local/radius (authentication is performed locally first, switching to Radius if unsuccessful)
• radius/local (the opposite of the previous option)
• local/TacacsPlus (authentication is performed locally first, switching to TacacsPlus if unsuccessful)
•
TacacsPlus/local (the opposite of the previous option)
•
RadiusDownLocal (local authentication is tried only when the Radius server is down)
•
TacacsPlusDownLocal (local authentication is tried only when the TacacsPlus server is down)
• ldapDownLocal (local authentication is tried only when the ldap server is down)
•
NIS - All authentication types but NIS follow the format all.authtype <Authentication>DownLocal or <Authentication> (e.g. all.authtype radius or radiusDownLocal or ldap or ldapDownLocal, etc). NIS requires all.authtype to be set as local, regardless if it will be "nis" or its “Downlocal" equivalent. The service related to "nis" or its “Downlocal" equivalent would be configured in the /etc/nsswitch.conf file, not in the /etc/portslave/pslave.conf file. Note that this parameter controls the authentication required by the Cyclades-TS. The authentication required by the device to which the user is connecting is controlled separately.
all.authhost1 all.authhost2
User Guide
This address indicates the location of the Radius/TacacsPlus authentication server and is only necessary if this option is chosen in the previous parameter. A second Radius/TacacsPlus authentication server can be configured with the parameter all.authhost2.
115
Page 116
Authentication all.accthost1 all.accthost2
This address indicates the location of the Radius/TacacsPlus accounting server, which can be used to track how long users are connected after being authorized by the authentication server. Its use is optional. If this parameter is not used, accounting will not be performed. If the same server is used for authentication and accounting, both parameters must be filled with the same address. A second Radius/TacacsPlus accounting server can be configured with the parameter all.accthost2.
all.radtimeout
This is the timeout (in seconds) for a Radius authentication query to be answered.
all.radretries
Defines the number of times each Radius/ TacacsPlus server is tried before another is contacted. The first server (authhost1) is tried “radretries” times, and then the second (authhost2), if configured, is contacted “radretries” times. If the second also fails to respond, Radius/ TacacsPlus authentication fails.
all.secret
This is the shared secret (password) necessary for communication between the Cyclades-TS and the Radius/TacacsPlus servers.
Configuration for CAS, TS, and Dial-in Access vi Method The parameters described above must be changed by directly editing the /etc/portslave/pslave.conf file.
Browser Method To configure Authentication with your browser: Step 1: Follow the steps 1 to 4 in the section titled Configuration for CAS, “Browser Method” on page 88. Step 2: Scroll to the Authentication section. Scroll down to the Authentication section and configure the parameters in this section. Step 3: Click the Submit button. At this point, the configuration file is written in the RAMdisk.
116
Cyclades-TS