Lantronix MPS100 EPS Reference Manual - Page 44

Setting Up a Service With Group Codes, TCP/Telnet Service Sockets

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

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216
  • 217
  • 218
  • 219
  • 220
  • 221
  • 222
  • 223

Creating Services
Server Configuration
4-
8
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
In order, the commands in Figure 4-17:
Enable group 1 and groups 2 through 5 on the server and assign them to any local services.
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).
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.
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.
Log the port out so that the Define commands take effect.
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.
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.
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”