Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Comprehensive Experimental Analysis of how to enter the Action static nat

2025-01-20 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)05/31 Report--

Today, I would like to talk to you about how to enter the static nat comprehensive experimental analysis, many people may not know much about it. In order to make you understand better, the editor has summarized the following contents for you. I hope you can get something according to this article.

Experiment name: dynamic and static nat comprehensive experiment

Experimental purpose: the company uses a public address to connect to the external network, and maps the intranet web server to the public address to provide external access!

Lab Topology:

Main configuration statements:

On router 0

Router (config) # interface Serial0/0/0

Router (config-if) # ip nat outside

Router (config-if) # exit

Router (config) # int f0and0

Router (config-if) # ip nat inside

Router (config-if) # exit

Router (config) # ip nat inside source list 1 interface serial0/0/0 overload

Router (config) # ip nat inside source static tcp 192.168.1.5 80 202.101.1.2 80 (internal network server is mapped to public network)

Router (config) # access-list 1 permit 192.168.1.0 0.0.0.255

On router 1

Router (config) # int s0Action0Lex0

Router (config-if) # ip nat outside

Router (config-if) # exit

Router (config) # int f0and0

Router (config-if) # ip nat inside

Router (config-if) # exit

Router (config) # ip nat inside source list 1 interface serial0/0/0 overload

Router (config) # ip nat inside source static tcp 192.168.3.5 80 202.101.1.3 80 (internal network server is mapped to public network)

Router (config) # access-list 1 permit 192.168.3.0 0.0.0.255

In addition to having access to the peer web service, the intranets of the two networks cannot directly access each other.

After reading the above, do you have any further understanding of how to get into the comprehensive experimental analysis of static nat? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report