|
Address Translation 6-21there is no existing dynamic or static port mapping, the packet will betranslated using the PAT default address.Configuring PAT Typically, PAT only needs to be enabled or disabled for a remote site connection. Use the following command to configure PAT in a vc profile:set vc nat_option patAs previously stated, it is sometimes necessary to configure the workstationdefault address. The workstation default address should be set to the privateaddress of a workstation on the local LAN. If a data packet is received on the WANport and a port mapping does not exist, the frame will be translated using theworkstation default address. Use the following command to set this field:set vc pat_default_address Static port configurations map a public port to a private IP address/port. Both TCPand UDP static ports can be defined. Remote sites can have multiple static portsdefined. If static ports and the workstation default address are both defined, thestatic ports take precedence. Static ports are defined for TCP and UDP ports with the following commands:add pat tcp vc public_port private_address private_port add pat udp vc public_port private_address private_port Typically the private and public port numbers are configured for the same value(e.g., “21” for an FTP Server). However, you can map multiple public portnumbers to the same private port number. For example, if you want to support aWeb Server on the LAN and be able to manage your OCR 812 with the WebBrowser, you would define two static ports for the Web Server (TCP port 80) asfollows: To support a Web Server on the LAN, configure your LAN Server with publicport 80, private port 80, and the private address of the LAN Server. To manage your OCR812 with the Web Browser, configure your OCR812manager with public port 8080, private port 80 and the private address equalto the Ethernet (LAN) port IP address.To access the OCR812 from a Web Browser, enter public Address:8080 at theprompt. Note that the value 8080 was chosen for example purposes only. You canenter any value within the port number range (i.e. 81).Remember to save your configuration using the save all command beforerebooting your OCR 812 so your changes will be written to permanent FLASH
PreviousNext |