Lantronix MPS100 EPS Reference Manual - Page 44
Setting Up a Service With Group Codes, TCP/Telnet Service Sockets
View all Lantronix MPS100 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 44 highlights
Creating Services Server Configuration 4.6.2 Setting Up a Service With Group Codes Local ports can be given a list of LAT service groups that they are authorized to use. The access list will deny the ports access to services that do not belong to any matching authorized groups. For example, you may wish to limit connections to a printer or to a certain set of ports on a server. Figure 4-17: Service Configuration Example Local> DEFINE SERVER GROUPS 1,2-5 ENABLED Local> DEFINE PORT 1 AUTHORIZED 1,4,7 ENABLED Local> DEFINE PORT 1 ACCESS REMOTE NAME "printer" BREAK DISABLED Local> LOGOUT PORT 1 Local> SET SERVICE "printer" PORT 1 IDENTIFICATION "LocalPrint" Local> SAVE SERVICE "printer" In order, the commands in Figure 4-17: x Enable group 1 and groups 2 through 5 on the server and assign them to any local services. x Define all local ports so they can access groups 1, 4, and 7. When a port logs in, all of its authorized groups are usable. Since groups 1 and 4 are common to both the ports and local services, all the local ports will be able to connect to any local service. Note: Group codes only apply to LAT connections. They have no effect on the other protocols supported by the Server (AppleTalk, LAN Manager, NetWare, and TCP/IP). x Set up port 2 to which the printer will be connected, reset the speed to 2400 baud, and disable broadcasts to the port. For more information on port settings, see Chapter 5. x Define remote access for port 2 (since the printer will not need to log in, and set the port's name, and disable any Break key processing. x Log the port out so that the Define commands take effect. x Create a print service on the port that allows connections and queueing by default, and enable the server send out an identification string in network multicasts.Create a print service on port 2, and enable the Server to send out an identification string in network multicasts. x Save the service so that it will be enabled after the next server reboot. 4.6.3 TCP/Telnet Service Sockets The TCPport and Telnetport service options allow you to configure a TCP socket associated with a service. Connections to that socket number are mapped to the service. This allows you to create a TCP "rotary" that can apply to multiple physical ports. As long as the service rating is non-zero, TCP connections to the socket are accepted (provided a port is available to handle the TCP connection). The Telnetport and TCPport options are similar, with the one exception that Telnetport will perform Telnet IAC interpretation on the data stream while TCPport treats the connection as a raw data pipe. Neither provides for queueing-if the service is unavailable, the TCP connection is rejected. 4-8