当前位置:网站首页>VPC nat (Sant, nant) experiment
VPC nat (Sant, nant) experiment
2022-07-26 18:45:00 【genjiv】
Mission :
Task a : Build and use VPCs on Alibaba cloud VPC
name :VPC experiment
The Internet :192.168.0.0/16
Task 2 : stay VPC Create two switches in
Switch 1:192.168.1.0/24
Switch 2:192.168.2.0/24
Task three : Create in the VPC ECS example
On the switch 1 And switches 2 Internal creation ECSA and ECSB
Task 4 : Purchase elastic public network IP
Task five : establish NAT gateway , Bind the purchased elastic public network IP
To configure SNAT The rules , Proxy switch 1 And switches 2 Two network segments go online
Task six :ECSA Configure the eight dimension service
install httpd, And prepare web page , Set up httpd Boot up
Configure security groups , Add rules , release 80 port .
Task seven : To configure DNAT The rules , Make Internet users pass the public network IP Of 80 Port to access ECSA Of web service .
Build a VPC in the VPC
Create two switches of different network segments in the switch interface

Create in the switch ECS example ( You can also create keys directly ( Availability zone ) Then bind the specified switch )

Buy EIP
Directly enter the purchase interface to purchase
Create a gateway binding EIP
Pay attention to the public network nat
When created, the binding already exists EIP
To configure SNAT and DNAT
SANT


Finish here ECS With internet access
DNAT

To configure web service
yum Package service
systemctl enable httpd.server Boot from boot
Access the public network from the outside ip Access to the ECS1

边栏推荐
- Exploratory software testing
- Redis核心原理
- NFT digital collection system development: sold out when online, and netizens "spike" Digital Collections
- Hello World
- offer-集合(1)
- 打印日志的一些小技巧
- [a little knowledge] thread pool
- 任正非首度揭秘:华为差点100亿美元“卖身”摩托罗拉背后的故事!
- Safer, healthier and without endurance anxiety, Wei brand latte dht-phev is here
- PyQt5快速开发与实战 3.5 菜单栏与工具栏
猜你喜欢

MySQL 遇到过死锁问题吗,你是如何解决的?

IrrKlang音频库的下载和配置

Redis master-slave replication, read-write separation, sentinel mode

How to assemble a registry

Visual VM positioning oom, fullgc usage

如何组装一个注册中心

If the recommendation effect is not satisfactory, it's better to try to learn the propeller chart

Redis persistent rdb/aof

还在用Xshell?推荐这个更现代的终端连接工具

The third day of SSM practice_ Paging assistant_ Security framework
随机推荐
Development of NFT digital collection system: Shanxi first released digital collections of ancient buildings on "China Tourism Day"
Privacy computing basic component series - confusion circuit
LeetCode_134_加油站
链表-两个链表的第一个公共结点
凝心聚力,心心向印!印度中资手机企业协会(CMA)正式运营!
Flask encapsulates seven cattle cloud
14. Gradient detection, random initialization, neural network Summary
更安全、更健康、无续航焦虑,魏牌拿铁DHT-PHEV来了
Hello World
SSM integration configuration
Distributed link tracking Jaeger's use in golang
Understand in depth why not use system.out.println()
网络协议:TCP/IP协议
The step jumping expansion problem of sword finger offer
模块八作业 - 消息数据 MySQL 表设计
Lombok常用注解
Online stock trading, where to choose to open an account is safer?
详细介绍@GetMapping和@PostMapping的区别
Concentrate, heart to heart! The Chinese funded mobile phone Enterprises Association (CMA) of India is officially operational!
深入理解为什么不要使用System.out.println()