R3166-R3206-HP High-End Firewalls NAT and ALG Configuration Guide-6PW101
16
• Type 10.110.10.3 in Internal IP.
• Type 21 in Internal Port.
• Click Apply.
# Configure the Web server 1.
• Click Add in the Internal Server field.
• Select GigabitEthernet0/2 for Interface.
• Select 6(TCP) for Protocol Type.
• Click the radio button next to Assign IP Address, and then type 202.38.1.1 for Global IP.
• Select the upper radio button next to Global Port and type 80.
• Type 10.110.10.1 in Internal IP.
• Type 80 in Internal Port.
• Click Apply.
# Configure Web server 2.
• Click Add in the Internal Server field.
• Select GigabitEthernet0/2 for Interface.
• Select 6(TCP) for Protocol Type.
• Click the radio button next to Assign IP Address,
and then type 202.38.1.1 for Global IP.
• Select the upper radio button next to Global Port and type 8080.
• Type 10.110.10.2 in Internal IP.
• Type 80 in Internal Port.
• Click Apply.
Configuring a NAT in the CLI
NAT configuration task list
Complete the following tasks to configure NAT:
Task Remarks
Configuring address translation
Configuring static NAT
Either is
required
Configuring dynamic NAT
Configuring an internal server Required
Configuring DNS mapping Optional
Setting NAT connection limits Optional
NOTE:
If the NAT configuration (address translation or internal server configuration) on an interface is changed,
save the configuration and reboot the device, to avoid problems. The following problems may occur: After
you delete the NAT-related configuration, address translation can still work for sessions already created;
if you configure NAT when NAT is running, the same confi
g
uration may have different results because of
different configuration orders.