can aws deliver the public ip directly on the CHR interface mikrotik routeros?

0

can aws deliver the public ip directly on the CHR interface mikrotik routeros? when I create an instance in aws and use an elastic ip such as 52.200.1.219 and enter winbox, in ip address I see this ip 172.31.17.112. that way I depend on an aws firewall that is in the middle, I would like to know if it is possible to place the public ip 52.200.1.219 directly in mikrotik routeros any help?

1개 답변
0

No, it's not possible to assign an Elastic IP address to an instance directly. There is a 1:1 NAT operation that is provided by the Internet Gateway in your VPC that maps between the Elastic IP address and the private IP address.

The filtering mechanism between the internet and your instance is a Security Group - to allow traffic to your instance (in this case the virtual router); allow the appropriate protocols and ports in the security group.

profile pictureAWS
전문가
답변함 일 년 전
  • but why aws it not allowed to have the public ip directly in the virtual router??? It is something very strange for me, in digital ocean by default it is that way

  • That's just the way it works in AWS. Instances in a VPC have a private IP address. They can be assigned a public/elastic IP which is handled by doing 1:1 NAT at the Internet Gateway.

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

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

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

관련 콘텐츠