[Previous] [Next] [Contents] [Last]


setipportmap

Adds or removes local servers.

Syntax

 setipportmap -d action -n service_name -a server_address -p 

protocol -e external_port_num -i internal_port_num

Options


 -d


 Action. 1 = Add, 2 = Delete.


 -n


 Service name (max 10 chars). For example, stocksrv.


 -a


 Server's IP address on the LAN.


 -p


 Protocol. 1 = TCP, 2 = UDP.


 -e


 External port number (1..65535).


 -i


 Internal port number (1..65535).

Example

 setipportmap -d 1 -n stocksrv -a 205.15.3.22 -p 1 -e 12000 -

i 2000

This command will add a new local server named stocksrv, which is located on the local computer 205.15.3.22. The server is accessible using the TCP port 12000, which gets mapped into TCP port 2000 on the server.

Also Supported on
See Also


[Previous] [Next] [Contents] [Last]


Copyright © 2000, Ramp Networks. All rights reserved.