Skip to content

DOCSUP-96339: [YCDOCS] [VPC] В руководстве "Маршрутизация через NAT-инстанс с помощью Terraform" проверить доступность интернета с ВМ. #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@

В этом руководстве вы создадите тестовую ВМ и NAT-инстанс с помощью сервиса [Yandex Compute Cloud](https://yandex.cloud/ru/docs/compute/) и настроите маршрутизацию с помощью [Yandex Virtual Private Cloud](https://yandex.cloud/ru/docs/vpc/).

Подготовка инфраструктуры для маршрутизации через NAT-инстанс с помощью Terraform описана в [практическом руководстве](https://yandex.cloud/ru/docs/tutorials/routing/nat-instance), необходимые для настройки конфигурационные файлы `nat-instance.tf` и `nat-instance.auto.tfvars` расположены в этом репозитории.
Подготовка инфраструктуры для маршрутизации через NAT-инстанс с помощью Terraform описана в [практическом руководстве](https://yandex.cloud/ru/docs/tutorials/routing/nat-instance/), необходимые для настройки конфигурационные файлы `nat-instance.tf` и `nat-instance.auto.tfvars` расположены в этом репозитории.
2 changes: 2 additions & 0 deletions nat-instance.tf
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ resource "yandex_vpc_security_group" "nat-instance-sg" {
protocol = "ANY"
description = "any"
v4_cidr_blocks = ["0.0.0.0/0"]
from_port = 0
to_port = 65535
}

ingress {
Expand Down