当前位置:网站首页>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

边栏推荐
- Ministry of Finance: IC design enterprises and software enterprises will be exempted from corporate income tax this year and next!
- LeetCode_ 134_ gas station
- 立即报名 | 云原生技术交流 Meetup 广州站已开启,8 月 6 号与你相遇!
- 神经网络学习(2)前言介绍二
- 复现gallerycms字符长度限制短域名绕过
- Arm中国回应“断供华为”事件!任正非表示“没有影响”!
- Learn UML system modeling from me
- PyQt5快速开发与实战 3.5 菜单栏与工具栏
- Sign up now | cloud native technology exchange meetup Guangzhou station has been opened, and I will meet you on August 6!
- How the test team conducts QA specification
猜你喜欢

Offer set (1)

分布式链路追踪Jaeger在Golang中的使用

立即报名 | 云原生技术交流 Meetup 广州站已开启,8 月 6 号与你相遇!

Maximum sum of continuous subarray of sword finger offer (2)

链表-合并两个排序的列表

隐私计算基础组件系列-混淆电路

Module 8 job message data MySQL table design

Interview summary of some large factories

Hello World

NFT digital collection system development: sold out when online, and netizens "spike" Digital Collections
随机推荐
[add conditional behavior in kotlin]
项目中@RequestMapping的作用以及如何使用
Summary of some problems encountered in developing WinForm (continuous updating)
Linked list - the penultimate K nodes
Sudden! Arm stops cooperating with Huawei! How big is the impact on Huawei?
链表-合并两个排序的列表
455. 分发饼干【双指针 ++i、++j】
剑指offer 跳台阶扩展问题
Vector canoe menu plugin getting started
flex布局
Ministry of Finance: IC design enterprises and software enterprises will be exempted from corporate income tax this year and next!
How the test team conducts QA specification
被控专利授权费过高!美法院判决高通违反反垄断法:高通股价大跌10.86%!
链表-反转链表
Accused of excessive patent licensing fees! The U.S. Court ruled that Qualcomm violated the antitrust law: Qualcomm's share price fell 10.86%!
Meta Cambria手柄曝光,主动追踪+多触觉回馈方案
How to assemble a registry
[ Kitex 源码解读 ] 服务发现
Redis persistent rdb/aof
【一知半解】线程池