Network Firewall sometimes connection failed.

0

Hello Our service use network firewall for checking outbound traffic(http, https).

Sometimes http connection failed(timeout) and cannot recover connection before restart service(using ecs fargate). So I tried empty firewall policies like below but cannot fix the problem.

[Routing] private subnet -> NAT GW -> Firewall -> Internet GW

[Firewall Setting]

Stream Exception Policy : Continue

Stateless Default Action : Forward to stateful rules

Statefull Default Action : All Pass

Could you tell me something wrong with my settings?

  • Hi there, Can you provide more details on how your route tables are configured? You need to make sure the forwarding and return traffic are both going through the firewall.

질문됨 2년 전300회 조회
1개 답변
0

A NAT gateway can be setup as either public or private.

If you use a private NAT gateway to connect to a transit gateway or virtual private gateway, traffic to the destination will come from the private IP address of the private NAT gateway.

If you use a public NAT gateway to connect to a transit gateway or virtual private gateway, traffic to the destination will come from the private IP address of the public NAT gateway unless you use an internet gateway. The public NAT gateway will only use its EIP as the source IP address when used in conjunction with an internet gateway.

It is often most efficient to have a NAT gateway per Availability Zone. It is important that each private subnet having routing configured to use the NAT gateway that is in the same AZ. (The Public subnet in each of the 3 AZs can all share the same route table which should have a default route to a single Internet gateway.)

AWS
답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인