Get the App
SLTechnology News&Howtos  ›  Servers  › 

Comprehensive Experimental Analysis of how to enter the Action static nat

Shulou Source: shulou.com Published: 2022-05-31 15:31:35 10月03日 Update

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.

Tags: Lab service static synthesis content server analysis address routing router utility company name topology more purpose knowledge end article network Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MariaDB Linux macOS OPPO Reno Shulou Tech Info