No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade
Knowledge Base

Port range on AR509

Publication Date:  2017-03-20  |   Views:  369  |   Downloads:  0  |   Author:  a84069511  |   Document ID:  EKB1000555247

Contents

Issue Description

The customer wants to specify a port range using this command below:

nat static protocol tcp global interface LoopBack 100 8080 inside X.X.X.X www netmask 255.255.255.255

He asked us if it is possible to configure a port range, for example from port 100 up to 200.

Solution

I recommended to the customer to use this commands below:

[Huawei]acl 3000

[Huawei]rule permit tcp destination-port range 100 200

[Huawei-GigabitEthernet0/0/0] nat static protocol tcp global interface LoopBack 100 inside X.X.X.X acl 3000