H3C route static forwarding settings

Source: Internet
Author: User
Tags website server


H3C route static forwarding sets route forwarding is the basic function of the router, that is, the NAT Function we often call. All the Intranet accesses the Internet through NAT, NAT can be converted between Intranet IP addresses and public IP addresses, so that intranet users can directly access the internet. Currently, NAT is called port address translation. Www.2cto.com 1. This article describes how to set up static forwarding for H3C routes. Before that, let's take a look at what Static NAT is, suppose our goal is to convert a static IP address on the Internet to an internal IP address through a router. For a router with a webpage setting interface, this is easy to implement, but sometimes we can only set it using the command line method, which is also important to introduce. 2. There are two steps necessary to allow Internet users to access the Intranet server. One is to configure NAT and the other is to configure a firewall to ensure that the Internet-related data can enter the Intranet through the firewall, whether using ACL or configuring firewall, make sure you are familiar with the operation sequence of the router and set the correct IP address. 3. After obtaining the relevant information, we began to configure static NAT. Suppose we need to use NAT translation to convert the public IP address of the website server from 222.184.24.130 to 192.168.8.8, the following is the NAT configuration between the Intranet and the public network: router (config) # ip nat inside source static tcp 192.168.8.8 25 222.184.24.130 25 router (config) # ip nat inside source static tcp 192.168.8.8 443 222.184.24.130 443 router (config) # ip nat inside source static tcp 192.168.8.8 80 222.184.24.130 80 router (config) # ip nat inside source static tcp 192.168.8.8 110 222.184.24.130 110
4. The above ports are used because these ports comply with the corresponding service ports. For example, port 25 corresponds to SMTP mail sending, port 443 corresponds to secure Web connection HTPS, and port 80 corresponds to HTTP, port 110 corresponds to POP3 reception. The above configuration assumes that we have a fixed public IP address. If not, we can also use the router egress IP address.
5. If your public IP address is an IP address allocated through the DHCP of the ISP, you can also use the above configuration method. In addition, we also need to register the domain names of the website server and email server to the DNS registry on the Internet, so that when users enter the domain name in the browser, they can access our website. In addition to configuring static NAT, we also need to configure dynamic NAT so that your intranet computer can access the Internet through dynamic NAT.

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.