Intranet service testing via mapped public network IP access: ASA8.0 hairpin NAT Test

Source: Internet
Author: User

A. Test topology:

Reference Link: http://blog.csdn.net/boblxs/article/details/8063814

Two. Basic ideas:

A. Through the configuration of hairpin NAT so that the intranet through the mapped public network address to access the internal server at the same time to do the target address translation, also do the source address translation

---the internal server that is visited is the ASA internal interface address, not the intranet actual address

B. Because the flow is only in and out of the ASA's internal interface, you need to open the same security level in and out of the same interface

Three. Basic configuration:

A.R1:

Interface fastethernet0/0

IP address 202.100.1.2 255.255.255.0

No shut

b.asa8.0:

Interface ethernet0/0

Nameif inside

IP address 10.1.1.254 255.255.255.0

No shut

Interface ETHERNET0/1

Nameif outside

IP address 202.100.1.1 255.255.255.0

No shut

Route outside 0.0.0.0 0.0.0.0 202.100.1.2

C.R2:

Interface fastethernet0/0

IP address 10.1.1.2 255.255.255.0

No shut

IP Route 0.0.0.0 0.0.0.0 10.1.1.254

Enable Secret Cisco

Line vty 0 4

Password Cisco

Login

-----R1 to open Telnet service

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.