diff --git a/README.md b/README.md index 858646e..599c637 100644 --- a/README.md +++ b/README.md @@ -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` расположены в этом репозитории. diff --git a/nat-instance.tf b/nat-instance.tf index 5f3c3f3..f942f6b 100644 --- a/nat-instance.tf +++ b/nat-instance.tf @@ -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 {