Nat configuration for Huawei router 1760

Source: Internet
Author: User

The router of Huawei has different ports in the specified outside and inside,
I hope to help you and avoid detours!

Quidway # show run
Now create configuration...
Current configuration
!
Version 1.66:

Enable password, Y @ JM, UXNZL0XaLTV. U4 *!!!
Access-list normal 100 permit ip 10.0.0.0 0.20.255.255 any
!
Interface Aux0
Async mode interactive
Encapsulation ppp
!
Interface Ethernet0 # inside port #
Speed auto
Duplex auto
No loopback
Ip address 10.0.0.2 255.255.255.0
!
Interface Ethernet1 # outside port #
Speed auto
Duplex auto
No loopback
Ip address 192.168.0.198 255.255.255.0
Nat inside 100 interface # Use this command to help set the access list and address pool on the external port #
!
Interface Serial0
Encapsulation ppp
!
Exit
Ip route 0.0.0.0 0.0.0.0 192.168.0.254 preference 60
!
End
Quidway#

The NAT configuration task list is as follows:

1. Configure the address pool

2. Configure the association between the access control list and address pool

3. Configure the easy ip feature associated with the access control list and Interface)

4. Configure the Internal Server
Add an internal server
Nat serverglobal global-addr [global-port] inside-addr inside-port protocol

Example: 202.38.160.101-103 is a public IP address.
Set up an internal FTP Server

Quidway (config-if-Serial0) # nat server global 202.38.160.101 inside 10.110.10.1 ftp tcp

! Set internal WWW Server 1

Quidway (config-if-Serial0) # nat server global 202.38.160.102 inside 10.110.10.2 www tcp

! Set up internal WWW Server 2

Quidway (config-if-Serial0) # nat server global 202.38.160.102 8080 inside 10.110.10.3 www tcp

! Set up an internal SNMP Server

Quidway (config-if-Serial0) # nat server global 202.38.160.103 inside 10.110.10.4 snmp udp

5. Configure the effective time of address translation

Related Articles]

  • Simple configuration of Huawei Router
  • L2TP configuration on the Huawei Router
  • Summary of Huawei router configuration and firewall configuration

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.