3Com OfficeConnect Remote 812 Network Router User Manual


 
Address Translation 6-21
there is no existing dynamic or static port mapping, the packet will be
translated 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 <vc name> nat_option pat
As previously stated, it is sometimes necessary to configure the workstation
default address. The workstation default address should be set to the private
address of a workstation on the local LAN. If a data packet is received on the WAN
port and a port mapping does not exist, the frame will be translated using the
workstation default address.
Use the following command to set this field:
set vc <vc name> pat_default_address <ip address>
Static port configurations map a public port to a private IP address/port. Both TCP
and UDP static ports can be defined. Remote sites can have multiple static ports
defined. If static ports and the workstation default address are both defined, the
static ports take precedence.
Static ports are defined for TCP and UDP ports with the following commands:
add pat tcp vc <vc name>
public_port <port>
private_address <ip address>
private_port <port>
add pat udp vc <vc name>
public_port <port>
private_address <ip address>
private_port <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 port
numbers to the same private port number. For example, if you want to support a
Web Server on the LAN and be able to manage your OCR 812 with the Web
Browser, you would define two static ports for the Web Server (TCP port 80) as
follows:
To support a Web Server on the LAN, configure your LAN Server with public
port 80, private port 80, and the private address of the LAN Server.
To manage your OCR812 with the Web Browser, configure your OCR812
manager with public port 8080, private port 80 and the private address equal
to the Ethernet (LAN) port IP address.
To access the OCR812 from a Web Browser, enter public Address:8080 at the
prompt. Note that the value 8080 was chosen for example purposes only. You can
enter any value within the port number range (i.e. 81).
Remember to save your configuration using the save all command before
rebooting your OCR 812 so your changes will be written to permanent FLASH