Forwarding traffic from an AWS IP address to another IP address

0

There is a machine for which I can only set one static inbound IP address. I'd like to set up an IP address on my AWS instance that forwards to that IP address so that I can connect from multiple locations.

Can someone give me some thoughts on the best way to set this up? I know I can set up an EC2 instance and throw something like nginx on it, but I wasn't sure if there was a simpler solution on AWS. Ideally I could just request a public IP, and say "Forward to this other IP address".

Thank you

Richie

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

I'm assuming that you're not asking about HTTP traffic - because you can do a redirect to another IP/DNS address quite easily.

Therefore, you do need to set up something (like Nginx or some other packet rewrite engine) which forwards the traffic for you. AWS doesn't offer a service that allows you to forward/rewrite IP traffic to another external destination.

You can use a load balancer to send traffic elsewhere but it only supports sending traffic to addresses within AWS or those connected to your VPC via VPN or Direct Connect.

profile pictureAWS
전문가
답변함 2년 전

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

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

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

관련 콘텐츠