Trusted networks – Tripp Lite 93-2879 User Manual

Page 161

Advertising
background image

_____________________________________________________________________

B096-016 B096-048 and B092-016 User Manual

Page 161

So your new User will be the existing total plus 1, so if the previous command gave you 0, then
you start with user number 1. If you already have 1 user, your new user will be number 2, etc.

If you want a user named “user1” with a password of “secret” who will have access to serial
port 5 from the network, you need to issue the these commands (assuming you have a previous
user in place):

# /bin/config –-set=config.users.user2.username=user1

# /bin/config –-set=config.users.user2.password=secret

# /bin/config –-set=”config.users.user2.description=The Second User”

# /bin/config –-set=config.users.user2.port5=on

# /bin/config –-set=config.users.total=2

The following command will synchronize the live system with the new configuration.

# /bin/config –-run=users

Trusted Networks

You can further restrict remote access to serial ports based on the source IP address. To
configure this via the command line, you need to do the following:

Determine the total number of existing trusted network rules. If you have no existing rules, you
can assume this is 0.

# /bin/config –-get=config.portaccess.total

This command should display:

config.portaccess.total 1

Note that if you see:

config.portaccess.total

This means you have 0 rules configured.

Your new rule will be the existing total plus 1. So if the previous command gave you 0, then you
start with rule number 1. If you already have 1 rule, your new rule will be number 2, etc.

If you want to restrict access to serial port 5 to computers from a single C class network
192.168.5.0, you need to issue the following commands (assuming you have a previous rule in
place):

# /bin/config –-set=config.portaccess.rule2.address=192.168.5.0

Advertising