Vronat NAT backflow Analysis

Source: Internet
Author: User


Director of router NAT backflow analysis asked me to configure the router so that our campus can also access the home page of our school through the domain name. It turns out that our home page can be accessed out of school through a domain name, but in school It can only be accessed through an IP address. Because I did not find that the Intranet cannot be accessed when configuring NAT, this problem has not been urgently solved until now. Enter the following two new commands (only after NAT is configured and the Internet can access the Intranet server through the domain name ]: www.2cto.com shenzhi_R01_config # ip nat service privateserviceshenzhi_R01_config # ip nat outside destination static tcp 1.2.3.4 80 192.168.0.200 8080 routing the new vro2626 configuration is as follows :! Version 1.3.20.service timestamps log dateservice timestamps debug dateno service password-encryption! Hostname shenzhi_R01 !!!!!! Gbsc group default !!!!!!! Aaa authentication login default localaaa authentication enable default enable! Username shenzhi password 0 enable password 0 level 15 !!! Interface FastEthernet0/0ip address 121.17.40.109 255.255.255.0no ip directed-broadcastip nat outside! Interface FastEthernet0/3no ip addressno ip directed-broadcastip nat inside! Interface FastEthernet0/3.1ip address 192.168.1.99 255.255.255.0no ip directed-broadcastencapsulation dot1Q 11 bandwidth 100000 delay 1ip nat inside! Interface FastEthernet0/3.2ip address 192.168.2.99 255.255.255.0no ip directed-broadcastencapsulation dot1Q 12 bandwidth 100000 delay 1ip nat inside! Interface FastEthernet0/3.3ip address 192.168.3.99 255.255.255.0no ip directed-broadcastencapsulation dot1Q 13 bandwidth 100000 delay 1ip nat inside! Interface FastEthernet0/3.4ip address 192.168.4.99 255.255.255.0no ip directed-broadcastencapsulation dot1Q 14 bandwidth 100000 delay 1ip nat inside! Interface FastEthernet0/3.5ip address 192.168.5.99 255.255.255.0no ip directed-broadcastencapsulation dot1Q 15 bandwidth 100000 delay 1ip nat inside! Interface FastEthernet0/3.6ip address 192.168.6.99 255.255.255.0no ip directed-broadcastencapsulation dot1Q 16 bandwidth 100000 delay 1ip nat inside! Interface FastEthernet0/3.7ip address 192.168.7.99 255.255.255.0no ip directed-broadcastencapsulation dot1Q 17 bandwidth 100000 delay 1ip nat inside! Interface FastEthernet0/3.10ip address 192.168.0.99 255.255.255.0no ip directed-broadcastencapsulation dot1Q 10 bandwidth 100000 delay 1ip nat inside! Interface Serial0/1no ip addressno ip directed-broadcast! Interface Serial0/2no ip addressno ip directed-broadcast! Interface Async0/0no ip addressno ip directed-broadcast !!!!!!!!! Ip route default 121.17.40.1ip route 202.99.160.0 255.255.255.0 121.17.40.1ip route 202.99.166.0 255.255.255.0 121.17.40.1 !!!!!!!!!!! Ip access-list standard shenzhi_nat_accesspermit 192.168.0.0 255.255.255.0! Ip access-list standard protocol 192.168.0.0 255.255.255.0permit 192.168.1.0 255.255.0permit 192.168.2.0 255.255.255.0permit 192.168.3.0 255.255.255.0permit 192.168.4.0 255.255.255.0permit 192.168.5.0 255.255.0permit 192.168.6.0 255.192.168.7.0 255.255.255.0 !!!!!! Ip nat service privateserviceip nat outside destination static tcp 1.2.3.4 80 192.168.0.200 8080ip nat inside source static tcp 192.168.0.200 8080 1.2.3.4 80ip nat inside source list shenzhi_nat_access interface FastEthernet0/0 !!

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.